I'm trying to figure out how to display how many tiddler i've changed
last year. I have been trying ForEachTiddler and get a list of the
tiddler changed during the last 365 days. Not what I wanted, so I try
you guys (and girls, of course) to see if you have any good ideas ;)
This is what I have been using
<<forEachTiddler
where
'tiddler.tags.containsAny(["tag1","tag2"])'
script '
function lastDays(tiddler) {
var compareDate = new Date();
compareDate.setDate(compareDate.getDate() - 365);
if (tiddler.modified > compareDate)
return "* [[" + tiddler.title + "]]\n";
else
return "";
}
'
write 'lastDays(tiddler)'
>>
Thanks for any help :)
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.