diff --git a/repository/TiddlyWiki/Tiddler.class.st b/repository/TiddlyWiki/Tiddler.class.st index d16e808..9d8f111 100644 --- a/repository/TiddlyWiki/Tiddler.class.st +++ b/repository/TiddlyWiki/Tiddler.class.st @@ -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. ]