You might like to try:
out.push('*[['+t.title+']] '+t.modified.formatString('YYYY.0MM.0DD -
DDD 0hh:0mm:0ss')+'');
This will make it a bit more tidy.
Morris
On Nov 9, 11:51 pm, Måns <[email protected]> wrote:
> Hi Gibson
>
> try:
> out.push('*[['+t.title+']]'+t.modified+'');
>
> regards Måns Mårtensson
>
> On 9 Nov., 10:05, Gibson <[email protected]> wrote:
>
> > Hi,
>
> > Thanks for that - it's great for getting the "who" part :)
>
> > Can you tell me how I'd add the date at the side of the output line
> > out.push('*[['+t.title+']]'); ?
>
> > Thanks again,
> > -G-
>
> > On Nov 6, 8:27 pm, Måns <[email protected]> wrote:
>
> > > Hi Gibson
>
> > > Try
>
> > > <script>
> > > var out=[]; var who='';
> > > var tids=store.getTiddlers('modifier');
> > > for (i=0; i<tids.length; i++) { var t=tids[i];
> > > if (who!=t.modifier) {
> > > who=t.modifier;
> > > out.push('by '+who+':');
> > > }
> > > out.push('*[['+t.title+']]');
> > > }
> > > return out.join('\n');
> > > </script>
>
> > > Regards Måns Mårtensson
>
> > > On 6 Nov., 16:13, Gibson <[email protected]> wrote:
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---