this post was submitted on 03 Apr 2024
1096 points (96.2% liked)

Programmer Humor

19594 readers
713 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 7 months ago (1 children)

I feel you're conflating TimeZones with ever-changing Daylight Savings time rules.

[–] [email protected] 10 points 7 months ago (1 children)

True but so do most computers. Computers have a database of timezones and time offsets around the world. Depending on the UTC date and time, and your current timezone it will look up what offset to apply to show the local time. The database is very gnarly since rules change over time, e.g. maybe in the 70s some countries had longer DST to counteract oil shortages.

[–] [email protected] 10 points 7 months ago (1 children)
[–] [email protected] 1 points 7 months ago

And there was much rejoicing (not)