Interested in this too - I have a script (thanks to this group) which I have
modified to pull dates from the tiddlers:
var d = tids[i].modified returns "Fri Feb 25 2011 11:02:00 GMT-0600 (Central
Standard Time)". Would like to modify this to "02/25/11 11:02 AM" - might be
able to do so with Javascript formatting but hope there is a tag for this?
<script>
var out='';
var fmt='|[[%0]]|%1|%2|%3|\n';
var tag='project';
var slice='summary';
var nxt = 'next';
var lstChg = 'last modified';
var
tids=store.sortTiddlers(store.getTaggedTiddlers(tag),'modified').reverse();
out+= "|!" + tag + "|!" + slice + "|!" + nxt + "|!" + lstChg + "|\n";
for (var i=0; i<tids.length; i++) {
var t=tids[i].title;
var s=store.getTiddlerSlice(t,slice);
var n=store.getTiddlerSlice(t,nxt);
var d = tids[i].modified;
out += fmt.format([t,s,n,d]);
}
out += "|Project Dashboard|c";
return out;
</script>
--
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.