Hi Mat

TiddlyWiki5 requires date fields to be in the format described here:

http://tiddlywiki.com/#Date%20Fields

It's kind of a bug that the wrong date format half works. I think that what
is actually happening is that the conversion code extracts "15/0" as the
year, which is then converted to 15 when it is converted to a number. When
that is turned into a year, JavaScript still defaults to the 20th century
(probably because two digit years have rather fallen out of use since the
millenium).

Best wishes

Jeremy.




On Tue, Jul 28, 2015 at 3:30 PM, Mat <[email protected]> wrote:

> Might the timeline macro
> <http://tiddlywiki.com/#%24%3A%2Fcore%2Fmacros%2Ftimeline> contain a bug
> or merely a missed out specification?
>
> In timelining by field "recent" that has dates on the format 15/07/28,
> what gets displayed is a timeline showing the year as 1915!
>
>
> <$macrocall $name="timeline"
> format={{$:/language/RecentChanges/DateFormat}} subfilter="has[recent]"
> dateField="recent"/>
>
>
> While the implications for this are staggering (time travel!) I'm a bit
> conservative and would like it to show 2015 instead.
>
> Please help
>
> <:-)
>
>
>
>
>
>  --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/3e26f506-95d1-458e-a193-f417aec495fc%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/3e26f506-95d1-458e-a193-f417aec495fc%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJaRD6iFwEXqyifLkky-L6BOUnMfpLvjdcc_2RHNFR6m%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to