Using new reversable uuid.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-07-23 14:53:43 -05:00
parent eef18e1387
commit 547bba2c14
1 changed files with 2 additions and 5 deletions

View File

@ -531,11 +531,8 @@ Tiddler >> uid [
{ #category : #accessing }
Tiddler >> uidGenerator [
| tempId |
self created
ifNotNil: [ tempId := self created hash hex. ]
ifNil: [ tempId := self class nowLocal hash hex ].
^ self customFields at: 'uid' put: tempId .
self created ifNil: [ self created: self class nowLocal ].
^ self customFields at: 'uid' put: self createdEncoded.
]