News for hackers. Stuff that matters.
Re:Rob Pike's Rules of Programming (1989) by Joker_vD on Thursday August 13, 2020 @10:33AM (#24143718)
Doesn't it actually store the timezone's IANA name and uses the tzdata to do conversions? That implies slightly more work than storing just the effective timezone offset, but is probably more correct when it comes to the timestamps in the future.
Re:Rob Pike's Rules of Programming (1989) by karmakaze on Thursday August 20, 2020 @05:18PM (#24229108)
Docs aren't 100% explicit but it seems that it uses tzdata etc to convert to offset as necessary and stores offset--that wouldn't affect correctness as the conversion is done now not in the future.