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
<$view field="created" format="date"
template={{$:/language/Tiddler/DateFormat}}/>,
modified on
<$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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/c43aaa89-284a-4c8b-bcc2-0dbe2bcb7c10%40googlegroups.com.