Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It’s totally feasible; if the server is using JS and is located in ET the parsed Date tends to be converted internally to local zone (very frustrating).

The Temporal spec[1] should alleviate a lot of the JS induced pain. Knowing how to correctly store and manipulate time data, however is a completely separate issue that even really experienced engineers can easily mess up, even with solid STD lib support.

1: https://tc39.es/proposal-temporal/docs/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: