Re: Filtering dates with mgtdlist?
<<mgtdList
title:'Done'
mode:global
startTag:Action
tags:'Done'
view:DoneAction
group:day
gView:DoneAction
gSort:-title
newButtonTags:'Action Next Done'
sort:-modified
where:'tiddler.modified > (new Date()).setDate((new Date()).getDate() - 7)'
>>
The last bit is the important part. For a specific date you could do this:
where:'tiddler.modified > Date.convertFromYYYYMMDDHHMM("20090320")'
<<timeline>> is a TiddlyWiki built in macro.
title:'Done'
mode:global
startTag:Action
tags:'Done'
view:DoneAction
group:day
gView:DoneAction
gSort:-title
newButtonTags:'Action Next Done'
sort:-modified
where:'tiddler.modified > (new Date()).setDate((new Date()).getDate() - 7)'
>>
The last bit is the important part. For a specific date you could do this:
where:'tiddler.modified > Date.convertFromYYYYMMDDHHMM("20090320")'
<<timeline>> is a TiddlyWiki built in macro.
On Tue, Mar 3, 2009 at 12:45 AM, acodring <...@gmail.com> wrote:
Hi there,
I'm trying to cook up a reporting view that includes completed actions
and/or projects from last week.
where or gwhere from mgtdlist smell like they might be able to filter
by date, but I haven't found a reference saying what's available in
them.
In a perfect world the filter would 'just know' when last week was,
but I'd be very willing to edit the tiddler and put in the date range
I want.
The timeline part of 'Last 30 Modifications' from the Mankoff Dash
looks interesting too:
<<timeline "modified" "30" "ddd, YYYY-0MM-0DD">>
Where does 'timeline' come from?
Any pointers that will speed my googling appreciated!
Andrew
1 Comments:
Thanks Simon!
Post a Comment
<< Home