Fixing JSON exporting error and recent changes repetitions.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-02-11 09:56:20 -05:00
parent cad212a9ff
commit c75b44f160
2 changed files with 5 additions and 3 deletions

View File

@ -43,7 +43,7 @@ Tiddler >> asDictionary [
at: 'type' put: self type; at: 'type' put: self type;
at: 'creator' put: self creator; at: 'creator' put: self creator;
at: 'modifier' put: self modifier; at: 'modifier' put: self modifier;
at: 'modified' put: self modified; at: 'modified' put: self modified asString;
at: 'bag' put: self bag; at: 'bag' put: self bag;
at: 'revision' put: self revision; at: 'revision' put: self revision;
yourself. yourself.

View File

@ -51,8 +51,10 @@ TiddlyWiki >> changesAfter: aDate [
and: [ tiddler modified > aDate ] ]. and: [ tiddler modified > aDate ] ].
recent := OrderedCollection new. recent := OrderedCollection new.
recent addAll: created; addAll: modified. recent
^ recent addAll: created;
addAll: modified.
^ recent asSet.
] ]
{ #category : #accessing } { #category : #accessing }