lukesanch / timemap

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

hybridParser returns Invalid Date, not null, for invalid date strings #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
TimeMapDataset.hybridParser uses Timeline.DateTime.parseGregorianDateTime
to parse stuff that's not ISO 8601. The Timeline function should return
null if the string to parse is invalid, but it doesn't - it returns an
Invalid Date object, which I'm not even sure how to check for. 

Should fix hybridParser, add a test, and possibly submit a fix for SIMILE.

Original issue reported on code.google.com by nick.rab...@gmail.com on 21 May 2009 at 4:36

GoogleCodeExporter commented 8 years ago

Original comment by nick.rab...@gmail.com on 21 May 2009 at 8:32