Added to TW-Scripts.

On Friday, February 1, 2019 at 4:15:44 AM UTC+3:30, S. S. wrote:
>
> Damon,
>
> On the tiddlywiki.com website, the tiddler : *Date Fields* : tells us:
>
> To avoid problems arising from differences of time zone, TiddlyWiki always 
>> uses UTC <http://en.wikipedia.org/wiki/Coordinated_Universal_Time>.
>>
>
> The tiddler : *DateFormat* : tells us:
>
> [UTC]    Time-shift the represented date to UTC. Must be at very start of 
>> format string.
>>
>  
> UTC is Coordinated Universal Time - so a time zone offset is needed for 
> where you are.
> The extra 8 you used signifies HOURS. Instead this may work:
>
> <$view field="customdate" format="date" template="[UTC]MMM DD, YYYY"/>
>
> Hope that helps.
>
>
> On Friday, February 1, 2019 at 7:10:07 AM UTC+7, Damon Pritchett wrote:
>>
>> Hi all,
>>
>> I've created a custom field in my TW that I use to store a date. I store 
>> the date in this fashion 20190131 (if I uses dashes between the year, month 
>> and day, the date is way off). In a table cell where I want the date to 
>> appear, I've entered <$view field="customdate" format="date" template="MMM 
>> DD, YYYY"/>. When the date is displayed, it is one day off (less). If I put 
>> an 8 afterwards (201901318), then the date in the table is displayed 
>> correctly. Is this a bug or something I'm doing wrong?
>>
>> Thanks,
>>
>> Damon
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e4b7a049-b43f-4b4d-9cd4-b7807fa1fca5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to