windrobin / timemap

Automatically exported from code.google.com/p/timemap
MIT License
0 stars 0 forks source link

BC Dates #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm having issues inserting dates that are before 1000AD, the timeline
doesn't appear to support it.
Is this a known issue?

Original issue reported on code.google.com by ccooperj...@aol.com on 25 Sep 2008 at 2:05

GoogleCodeExporter commented 9 years ago
This is supported, but you need to use a different date parser. In 
timemapInit(), try
this in the dataset definition:

{{{
{
  title: "My ancient history dataset",
  dateParser: Timeline.DateTime.parseGregorianDateTime,
  // ...etc
}
}}}

The caveat is that I believe you can only use whole years, not exact dates, 
though I
could be mistaken.

Original comment by nick.rab...@gmail.com on 25 Sep 2008 at 3:16