Thanks for that Mark. Now I'm all set. :-)

22 Apr 2020, 19:56 by [email protected]:

> In other words, if you edit $:/core/ui/ViewTemplate/subtitle, like this:
>
> \> whitespace trim
> <> $reveal type> => "nomatch">  stateTitle> =<<> folded> -> state> >>>  text> 
> => "hide">  tag> => "div">  retain> => "yes">  animate> => "yes"> >
> <> div > class> => "tc-subtitle"> >
> <> $link to> ={{!!> modifier> }}>  > />
> M> :>  > <> $view field> => "modified">  format> => "date">  > template> ={{> 
> $> :> /language/> Tiddler> /> DateFormat> }}/>>  > |>  
> C> :>  > <> $view field> => "created">  format> => "date">  > template> ={{> 
> $> :> /language/> Tiddler> /> DateFormat> }}/>
> <> /div>
> </> $reveal> >
> Then it will show both the modified and created dates. It's kind of busy 
> though. 
>
> When you make modifications to a core tiddler, you should make a note of it, 
> probably in the same TW,
> so that when you upgrade you can delete your changes, make the upgrade, and 
> then reinstall.
>
> Otherwise what happens is that after an upgrade and everyone is talking about 
> the exciting new
> date field feature, you'll be wondering why you didn't get it. It's easy once 
> you make a change
> like this to forget that you ever did it.
>
> Good luck!
>
> On Wednesday, April 22, 2020 at 9:08:21 AM UTC-7, Peter Buyze wrote:
>
>> Eric, Birthe, thank you. I'm going to go for an extra view widget for the 
>> created date, so I will use Eric's code for that.
>>
>> I imagine I have to create a new tiddler and in the text box put Eric's 
>> code. But what title should I give the tid, and should I put anything in the 
>> tag field?
>>
>>
>>
>> 22 Apr 2020, 17:48 by 
>>
>>> 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+unsubscribe@>>> googlegroups.com>>> .
>>> To view this discussion on the web visit >>> 
>>> https://groups.google.com/d/>>> msgid/tiddlywiki/c43aaa89->>> 
>>> 284a-4c8b-bcc2-0dbe2bcb7c10%>>> 40googlegroups.com 
>>> <https://groups.google.com/d/msgid/tiddlywiki/c43aaa89-284a-4c8b-bcc2-0dbe2bcb7c10%40googlegroups.com?utm_medium=email&utm_source=footer>>>>
>>>  .
>>>
>>
>>
>
>
>
> --
>  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/de8a9751-7628-473d-82c4-e77ab2b1521b%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/de8a9751-7628-473d-82c4-e77ab2b1521b%40googlegroups.com?utm_medium=email&utm_source=footer>>
>  .
>

-- 
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/M5Xox2_--3-2%40tutamail.com.

Reply via email to