Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ten Python datetime pitfalls, and what libraries are (not) doing about it. Parent comment
Basically:
- Store the offset and the tz ID
- When deserializing, allow explicit choice what to do: keep the offset (i.e. same moment in time) or keep the local time (i.e. same time on the 'wall clock')
There are no comments on this comment yet.
Basically:
- Store the offset and the tz ID
- When deserializing, allow explicit choice what to do: keep the offset (i.e. same moment in time) or keep the local time (i.e. same time on the 'wall clock')