morrisjs / morris.js

Pretty time-series line graphs
http://morrisjs.github.com/morris.js/
6.92k stars 1.23k forks source link

Morris.parseDate iso 8601 issue #241

Open Rosey opened 11 years ago

Rosey commented 11 years ago

This is for week date parsing, eg 2013 W2

According to http://www.epochconverter.com/date-and-time/weeknumbers-by-year.php,

All weeks are starting on Monday and ending on Sunday (ISO-8601).

But according to Morris.parseDate

first thursday in year (ISO 8601 standard)

This caused some broken graph issues for me! I've fixed it locally and am happy to submit a PR unless there's some reason why parseDate is like that?

sudodoki commented 10 years ago

Hey, @R-osey, is it still reproducible?