.tid created timestamp

91 views
Skip to first unread message

Captain Packers

unread,
Mar 7, 2017, 3:19:03 PM3/7/17
to TiddlyWiki
I was at a conference and created some tiddlers in a different time zone. My tablet did not auto switch time zones, I would like to modify the created timestamp in the .tid files to reflect the local creation time, but am not sure of the spec on the value. It looks like it may be YYYYMMDDHHMMSSmmm where mmm is fractional milliseconds. Can anyone confirm this?

Also, it would be more helpful to me if the created date was visible in the subtitle in addition to the last modified timestamp. Does anyone know how to pick this up and display it within the tiddler?

Thanks.

Mark S.

unread,
Mar 7, 2017, 4:00:15 PM3/7/17
to TiddlyWiki
I believe the modified and created date fields always use UTC. The simplest way of dealing with that is to move to the western edge of Europe. ;-_

So as long as the tablet was internally consistent and the time was set accurately, the stamps should be OK. TW5 expects the dates to always contain UTC stamps.

The default date-stamp display should display the modified date stamp with your local time stamp, wherever you happen to be at the moment. I suppose if you cross timezones a lot this may make a tiddler's time stamp appear to be jumping around. I suppose you could modify $:/language/Tiddler/DateFormat to clarify what timezone it is displaying for.

You could modify the subtitle by editing $:/core/ui/ViewTemplate/subtitle . For instance, you could change "modified" to "created" to display the creation date, or cut and paste the view widget to display both fields. (Be sure to make back-ups before trying this).

Good luck!
Mark

Thomas Elmiger

unread,
Mar 7, 2017, 4:25:14 PM3/7/17
to TiddlyWiki
The documentation is here: http://tiddlywiki.com/#Date%20Fields

All the best!
Thomas
Reply all
Reply to author
Forward
0 new messages