Elektrine lite

← Feed

@bert_hubert@fosstodon.org

Post #1805752

2025-01-17 20:00 UTC

After studying the strptime timezone %Z situation for a bit, I have concluded that both time and computers were a mistake.

Replies (15)

  • @bert_hubert@fosstodon.org 2025-01-17 21:58

    "In Dublin's official timezone data, for example, tm_isdst is zero in their summer and one in their winter, the opposite of the norm, but not on RHEL, which "normalizes" the data. If you lived in Dublin and used Fedora, and made an invalid assumption about tm_isdst values, you would not be on time for tea." - from https://www.redhat.com/en/blog/brief-history-mktime

    Open ##2239342

  • @eloy@hsnl.social 2025-01-17 20:10

    @bert_hubert@fosstodon.org https://softwarewasamistake.eu/

    Open ##2239345

  • @kevin@mastodon.km6g.us 2025-01-17 20:23

    @bert_hubert@fosstodon.org And they don't cancel each other out.

    Open ##2239346

  • @bert_hubert@fosstodon.org date, time and calendar we know today is history showing how lack of understanding in combination with “move fast and break things” turns out to be. Edit: history meaning hundreds of years long before we had even invented the transistor

    Open ##2239347

  • @bert_hubert@fosstodon.org Without Timezones, one could not know when they should be sleeping. Never confused me because I may be randomly awake at any time. /s

    Open ##2239348

  • @TimWardCam@c.im 2025-01-17 20:59

    @bert_hubert@fosstodon.org https://gist.github.com/timvisee/fcda9bbdff88d45cc9061606b4b923ca (but you knew that)

    Open ##2239350

  • @luis_in_brief@social.coop 2025-01-17 21:04

    @bert_hubert@fosstodon.org “Time and computers were a mistake” new FOSDEM dev room just dropped

    Open ##2239362

  • @andy@tux.social 2025-01-17 21:10

    @bert_hubert@fosstodon.org In the last 25 years I work as software developer, it feels like I roughly spent one quarter of my worktime with time and date related issues. After I've made half of all possible errors myself, I'm now fixing the problems introduced by others, while I still find new ways to screw up time and date code. For instance, today I migrated data from a system with two digits years representing dates in the past and the future.

    Open ##2239373

  • @writermonki@mastodon.social 2025-01-17 21:19

    @bert_hubert@fosstodon.org “Some said that even the trees had been a mistake and that no one should’ve left the ocean.”

    Open ##2239376

  • @derickr@phpc.social 2025-01-17 21:22

    @bert_hubert@fosstodon.org I maintain PHP's date/time string parser, and I feel your pain. Even more so because people think it can just parse anything you throw at it. It's pretty good, but it's not magic.

    Open ##2239377

  • @teunvink@mstdn.social 2025-01-17 22:28

    @bert_hubert@fosstodon.org https://ssoready.com/blog/engineering/truths-programmers-timezones/ has a nice overview of some other weird things with timezones. It's bad...

    Open ##2239437

  • @balglaas@mastodon.social 2025-01-17 23:02

    @bert_hubert@fosstodon.org "Time is an illusion. Lunchtime doubly so." https://www.goodreads.com/quotes/6344-time-is-an-illusion-lunchtime-doubly-so

    Open ##2239438

  • @faoluin@chitter.xyz 2025-01-18 04:30

    @bert_hubert@fosstodon.org https://www.youtube.com/watch?v=-5wpm-gesOY

    Open ##2239439

  • @zimpenfish@social.rjp.is 2025-01-18 11:53

    @bert_hubert@fosstodon.org Was complaining about similar yesterday - ISO8601 specifies (+/-)00:00 as the offset format but strftime outputs (+/-)0000 using %z. SUPER HELPFUL. (yes, strftime was originally codified before ISO8601 but they’ve since added explicit support for ISO8601 weeks with %G and %V. They could add a spec-correct offset sigil.)

    Open ##2239440

  • @nblr@chaos.social 2025-01-18 20:05

    @bert_hubert@fosstodon.org "It is six hours and thirty minutes later in New Delhi than it is here." „Spring forward! Fall back!“ Statements dreamed up by the utterly deranged! Countless clocks adjusted twice a year, yet not a single hour of daylight saved. "Yes, I would like to add a leap second to my year" …said nobody ever. They played us for absolute fools!

    Open ##2239441