You got me in the right direction, I could also write to the created
field instead of a custom field.
The only obstacle is that the store.setValue only takes 12 digits in
my trials so far.
But I will have another go when the sun rises.

Thanks, Okido


On Sep 27, 6:23 pm, [email protected] wrote:
> On Tue, 27 Sep 2011, okido wrote:
> > The links were useful.
> > For the time being I am going to store the date including seconds in a
> > custom field.
> > The seconds are not stored in a TW and changing this might brake
> > others things that are not on my radar.
> > Your example returns always 00 for the second part in a TW.
>
> Just so you know when TiddlyWeb produces created dates in the
> tiddlywikis it generates is produces a 14 digit string:
>
>    created="20110924211440"
>             YYYYMMDDmmhhss
>
> and this just works, the seconds are preserved in handling.
>
> Try this:
>
> Go to:
>
> http://cdent.tiddlyspace.com/Peermore.wiki
>
> And open up a javascript console and run:
>
>     store.getTiddler('Peermore').created.toString();
>
> and then compare that with what you see as created here:
>
>    http://cdent.tiddlyspace.com/Peermore.txt
>
> or here:
>
>    http://cdent.tiddlyspace.com/Peermore.json
>
> (note in that latter _created and created are _not_ the same thing).
>
> Given all that, it should be possible for you to manage tiddlers (in
> TidldyWiki, TiddylWeb not required) by seconds in created time if you
> want to, as long as you get the right data in there and use the right
> methods to get it out.
>
> --
> Chris Dent                                  http://burningchrome.com/
>                                  [...]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev?hl=en.

Reply via email to