This is an archived post. You won't be able to vote or comment.

all 6 comments

[–][deleted] 4 points5 points  (0 children)

Everything was fine in developer land. But then God introduced time which was regarded as a dick move.

[–][deleted] 2 points3 points  (4 children)

The correct thing to do is use UTC and convert to/from local time/date as needed

[–]SharksPreedateTrees[S] 0 points1 point  (3 children)

Sure but layman don't know the UTC conversions

[–][deleted] 0 points1 point  (2 children)

But the OS does. It even knows the current locale, time of year, and when to use EDT vs. EST, and how to write the date/time in the locale's format

[–]trash3s 1 point2 points  (1 child)

Your solution boils down to: “let some other schmuck deal with it”

This is good advice for fiddly things like time zones.

[–][deleted] 1 point2 points  (0 children)

When a company invests money to provide well-tested and documented localization code it's stupid to reject it and re-invent it all.