From 21e593707c847adf5b313fff02262821094cd070 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Fri, 11 Feb 2022 15:43:43 -0500 Subject: [PATCH] Simplifiying date management --- repository/TiddlyWiki/TiddlyWiki.class.st | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/repository/TiddlyWiki/TiddlyWiki.class.st b/repository/TiddlyWiki/TiddlyWiki.class.st index 9f58825..94a6fc6 100644 --- a/repository/TiddlyWiki/TiddlyWiki.class.st +++ b/repository/TiddlyWiki/TiddlyWiki.class.st @@ -42,9 +42,10 @@ TiddlyWiki >> addToConfigFile [ ] { #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. created := wiki select: [ :tiddler | tiddler created > aDate ]. modified := wiki select: [ :tiddler | tiddler modified isNotNil