This is, at core, a javascript problem. You may wish to read the following links to decide best how to proceed:
http://dclure.org/logs/parsing-bc-dates-with-javascript/ https://stackoverflow.com/questions/25846123/how-to-format-bc-dates-like-700-01-01 So, there are solutions, but I don't know if that will help you with vis.js. Coda On Friday, January 26, 2018 at 1:55:50 PM UTC-6, Miroslav Kalous wrote: > > Hi, everyone, > > I have encountered a problem when using vis.js timeline plugin (which I > love and am indebted to its author). But I guess the problem goes beyond > this plugin and concerns date formating more generally. > > The timeline plugin works with two types of date formating: TW5 date > format <http://tiddlywiki.com/#DateFormat> and moment.js Parse > string+format <http://momentjs.com/docs/#/parsing/string-format/>. I > haven't found any info about the support for "after/before christ" years > formating in these two formats. Does it mean that neither TW5 nor moment.js > Parse work with BC dates? It seems so to me but I want to make sure so that > is why am asking here. > > Practically, it means that every timeline I make starts with the year 0 or > after. It never goes back BC. > > Thanks everyone for any tips or workarounds, > > Mira > -- 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/b8c18b7c-8475-47f7-82e3-b597ea1fcd22%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.