Richie78321 / Vaccinate-PA

https://vaccinatepa.org/
11 stars 4 forks source link

Do a pass over the time formats used #66

Open Richie78321 opened 3 years ago

Richie78321 commented 3 years ago

We should do a pass over all of the current time formats used and standardize them. There are very likely some timezone bugs in the current time format parsing code. Also, moment.js doesn't natively support some of the time formats we are using, leading to this warning:

Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.