ericgio / weekday-golf

A codified history of our bi-weekly-ish games.
1 stars 2 forks source link

Only parse and display dates (not round times) #27

Closed makinde closed 4 years ago

makinde commented 4 years ago

Doing so allows us to not worry about timezones right now, and allows us to drop moment-timezone, which was more than half the bundle size.

makinde commented 4 years ago

toLocaleDateString documented here: https://stackoverflow.com/a/34015511

makinde commented 4 years ago

Closes #21. data still there, but we can always start parsing it again.

ericgio commented 4 years ago

I think this introduced a bug where it's assuming the time is midnight UTC, so all the dates are off by a day now.