Using new reversable uuid.
This commit is contained in:
parent
eef18e1387
commit
547bba2c14
@ -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.
|
||||
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user