pomber / covid19

JSON time-series of coronavirus cases (confirmed, deaths and recovered) per country - updated daily
https://pomber.github.io/covid19/timeseries.json
1.23k stars 373 forks source link

hard-coded 2020 year in update.js #234

Closed cthiebaud closed 3 years ago

cthiebaud commented 3 years ago

Below the comment "// HACK: CSVs have different date formats" in update.js, the year "2020" is hard-coded.

This has a negative effect on the data for year 2021 ;)

I checked the source repo for this file:

and the the error is not there.

cthiebaud commented 3 years ago

This has negative effect on the display on covid.aequologica.net as well:

Screenshot 2021-01-03 at 08 27 03
cthiebaud commented 3 years ago

FYI, I coded a counter-hack in may code : https://github.com/cthiebaud/cthiebaud.github.io/commit/c0067bd59cd3b081e2b0e1c4d3dd5b0296cdb030 ;)

pomber commented 3 years ago

Thanks, it should be fixed now.