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

Programmer Humor

19512 readers
438 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
[–] corsicanguppy@lemmy.ca 25 points 7 months ago (1 children)

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

[–] arc@lemm.ee 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.

[–] dfyx@lemmy.helios42.de 10 points 7 months ago (1 children)
[–] ICastFist@programming.dev 1 points 7 months ago

And there was much rejoicing (not)