Open badzster opened 9 years ago
In modern browsers you can create a date like new Date('0001-03-18')
. You could also provide a unix timestamp like -62129030400000
.
See also this related discussion in the successor of chap-links-library: https://github.com/almende/vis/issues/307
I am trying to create a timeline which includes the years 1-99AD. Unfortunately, if I use the following date: 14-08-19 (YY-MM-DD), it defaults to the year 1914. Changing the year 14AD to 100AD the problem goes away. Also, there is no year 0. Only 1BC and 1AD. How would I fix this? Thanks for you help - it is a great script.