openskope / skope-interface

The new SKOPE web portal interface.
https://www.openskope.org
4 stars 2 forks source link

Timeline of the plots should use UTC dates. #213

Closed Zodiase closed 6 years ago

Zodiase commented 6 years ago

Date "1000-01-01" would be "0999-12-31" in local time, and displayed as "0999".

Zodiase commented 6 years ago

Resolved as of a012223c9320e9393c941dc4db68e522624c83d2.

To avoid strange quirks of timezone in early years (1 BC for example), date strings are treated as local time to avoid dealing with timezone.