marmelab / EventDrops

A time based / event series interactive visualization using d3.js
http://marmelab.com/EventDrops/
MIT License
1.24k stars 237 forks source link

Axis labels not displayed correctly for earlier years #270

Open gartenfeld opened 5 years ago

gartenfeld commented 5 years ago

This is visible from the demo. If you pan to years before ~1921, the dynamic axis labels break.

gartenfeld commented 5 years ago

Not sure what happened on 1st of May, 1921 -- but there's a bug in d3's timeMinute and timeHour making these two functions behave differently before vs. after 1921...

gartenfeld commented 5 years ago

https://github.com/d3/d3-time/issues/29