Added to TW-Scripts

On Wednesday, April 22, 2020 at 7:18:09 PM UTC+4:30, Eric Shulman wrote:
>
> On Wednesday, April 22, 2020 at 7:10:08 AM UTC-7, Peter Buyze wrote:
>>
>> Eric, sorry for a basic question, but where is the view widget located?
>>
>
> The date that is shown in each tiddler's heading comes from 
> *$:/core/ui/ViewTemplate/subtitle*
>
> which shows the *modified* date, using this line:
> <$view field="modified" format="date" 
> template={{$:/language/Tiddler/DateFormat}}/>
>
> If you change the field="..." parameter value to "created", it will show 
> the creation date of the tiddler.  Alternatively, you could ADD an extra 
> $view widget to show both dates... something like this:
> created on &nbsp;
> <$view field="created" format="date" 
> template={{$:/language/Tiddler/DateFormat}}/>, 
> modified on &nbsp;
> <$view field="modified" format="date" 
> template={{$:/language/Tiddler/DateFormat}}/>
>
> Note also that the "template" for this $view widget is a reference to the 
> shadow tiddler,  $:/language/Tiddler/DateFormat, which contains:
> DDth MMM YYYY at hh12:0mmam
>
> You can edit this shadow to change the  format of the date output to suit 
> your tastes.
> The available formatting codes are defined here: 
> https://tiddlywiki.com/#DateFormat
>
> enjoy,
> -e
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/24ee13c5-dfbb-4122-958a-92b81306c8d3%40googlegroups.com.

Reply via email to