Hacker News new | ask | show | jobs
by pganssle 1138 days ago
Actually, naïve times are considered aware in the system time zone. There's no good way to create a `tzinfo` object that behaves like "the system time zone" and doesn't have unfortunate consequences. See this article: https://blog.ganssle.io/articles/2022/04/naive-local-datetim...

It's not an ideal situation, but given path dependence I don't think it can be improved much from here.