Comment

Comment by vegabook

I suspect a lot of financial data code is going to break. I've worked on a number of codebases where the explicit instructions were "everything is UTC, all the time", and enforced at the entry edges of the code. Bringing in timezones was a definite NO for reasons of the unholy mess this would inevitably create:

* India has half-hour timezones

* Countries change their DST rules all the time.

* Conversion between timezones is an utter mess.

As Wes McKinney once said about python datetime: "Welcome to Hell"[0]

[0] https://stackoverflow.com/a/13753918

parent vegabook 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton