Simplifiying date management

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-02-11 15:43:43 -05:00
parent 6a9a2c345d
commit 21e593707c

View File

@ -42,9 +42,10 @@ TiddlyWiki >> addToConfigFile [
] ]
{ #category : #accessing } { #category : #accessing }
TiddlyWiki >> changesAfter: aDate [ TiddlyWiki >> changesAfter: aDateString [
| recent created modified wiki | | recent created modified wiki aDate |
aDate := aDateString asZTimestamp.
wiki := self withoutImages withoutPDFs contentTiddlers. wiki := self withoutImages withoutPDFs contentTiddlers.
created := wiki select: [ :tiddler | tiddler created > aDate ]. created := wiki select: [ :tiddler | tiddler created > aDate ].
modified := wiki select: [ :tiddler | tiddler modified isNotNil modified := wiki select: [ :tiddler | tiddler modified isNotNil