On Thursday, May 14, 2015 at 9:49:56 AM UTC-7, nbdsp wrote:
>
> Currently the 'modified' date in tiddlers is formatted as relative 
> backward intervals: "10 days ago", "12 min ago" and the like. I'd like to 
> change it to something else. I found a recommendation to create a 
> systemConfig tiddler with the following lines:
>
> config.views.wikified.dateFormat = "YYYY-0MM-0DD 0hh:0mm";
> config.macros.timeline.dateFormat = "YYYY-0MM-0DD (ddd)";
>
>
Those instructions are for use with TiddlyWiki Classic.

Modern TiddlyWiki (v5+) uses a different approach.

To change the display of the modification date in the tiddler header:

1) from the sidebar, open the "advanced search" tiddler (click on the 
magnifying glass next to the search input field)
2) in the "Shadows" tab, search for
   $:/core/ui/ViewTemplate/subtitle
3) open that tiddler, and edit it
4) note this widget:
   <$view field="modified" format="relativedate"/>
5) To format the date the way you want, change this to:
   <$view field="modified" format="date" template="YYYY-0MM-0DD 0hh:0mm"/>

It's even easier to change the date format used in the Recent tab in the 
sidebar:

Using the "advanced search" tab again, search for
   $:/language/RecentChanges/DateFormat
Then, edit that tiddler and change the content to your desired date format 
string.

That should do it.


enjoy,
-e
Eric Shulman
ELS Design Studios
TiddlyTools - "Small Tools for Big Ideas!"
InsideTiddlyWiki: The Missing Manuals

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/137f2ab7-d91f-480e-960a-cb0f911c6e85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to