Hi Matabele

>
> How can I modify the date formats for the ViewWidget? I have changed the
> format from 'relativedate' to 'date' -- but wanted 'DDth MMM YYYY'
>

You need the "template" attribute. For example:

<$view format="date" template="DDth MMM YYYY"/>

I've just realised that the format strings aren't documented in TW5 yet;
they are the same as in TWC, though:

http://classic.tiddlywiki.com/#%5B%5BDate%20Formats%5D%5D

I'll add documentation for TW5,

Best wishes

Jeremy



>
> 17th April 2014
> regards
>
> On Thursday, April 17, 2014 8:48:09 PM UTC+2, Jeremy Ruston wrote:
>
>> Hi Matabele
>>
>> > It would also be handy if, when switching to hamburger mode, in place
>> of the '6 days ago' - this label displayed the date. A printed report
>> showing '6 days ago' doesn't make much sense :-)
>>
>> You can of course customise the date format by modifying the shadow
>> tiddler $:/core/ui/ViewTemplate/subtitle. We should make the date format
>> be configurable, not least so that translations can provide a
>> locale-specific format. I've created a ticket here:
>>
>> https://github.com/Jermolene/TiddlyWiki5/issues/571
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>>
>> On Thu, Apr 17, 2014 at 7:27 PM, Matabele <[email protected]> wrote:
>>
>>> Hi
>>>
>>> It would also be handy if, when switching to hamburger mode, in place of
>>> the '6 days ago' - this label displayed the date. A printed report showing
>>> '6 days ago' doesn't make much sense :-)
>>>
>>> Is there a way to do this?
>>>
>>> regards
>>>
>>> On Wednesday, April 16, 2014 11:37:40 PM UTC+2, David Gifford wrote:
>>>
>>>> I just wanted to go on record as saying that while there are a few
>>>> hiccups that need to get ironed out, I am REALLY liking the new beta
>>>> version of 5.0.09! Got my productivity TW and my image gallery TW changed
>>>> over and they are vastly improved. Haven't done my note-taking TW yet, but
>>>> I foresee improvements there too. Thanks Jeremy and gang!
>>>>
>>>> Dave
>>>>
>>>  --
>>> 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.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>


-- 
Jeremy Ruston
mailto:[email protected]

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to