On Sunday, January 18, 2015 at 2:40:36 PM UTC+1, Jim Lehmer wrote:
>
>  
> The function just appends three *substring*s of the TW date string, plus 
> two hyphens:
>
> XML.twDateToWebDate = function(twDate) {
>       return twDate.substring(0, 4) + "-" + twDate.substring(4, 6) + "-" + 
> twDate.substring(6, 8);
> }
>
> The TW date string is still subject for discussion. So if you expect the 
format to be like this, your plugin may break in the future. 
There is a $tw.utils.formatDateString() function that can do the 
conversion. 

also see: http://tiddlywiki.com/#DateFormat
 

-- 
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