• lugal@sopuli.xyz
    link
    fedilink
    arrow-up
    24
    arrow-down
    5
    ·
    5 months ago

    Aren’t time zones quite straightforward? You add a whole number of hours and for some a half. Compare that to a sundial on the one side and having times that don’t match your day at all on the other, I’d say it’s good

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      5 months ago

      you have to program a meeting that reoccurs between DST observant & non observant states in the US and australia.

      Good luck.

      • lugal@sopuli.xyz
        link
        fedilink
        arrow-up
        6
        arrow-down
        2
        ·
        5 months ago

        I hate to repeat myself but DST is garbage. I never said it’s good

    • orbitz@lemmy.ca
      link
      fedilink
      arrow-up
      10
      arrow-down
      2
      ·
      5 months ago

      Not if the place doesn’t do daylight savings time, and not all places in a timezone will do that (least in North America) so you need extra code if they do or do not. It becomes a pain after awhile when you do it in multiple projects. Technically one extra setting but it’s still a pain to make sure it’s handle properly in all cases, especially when the previous programmer decided to handle it for each case individually, but that’s a different issue.

      Also when you deal with the times, say in .Net you gotta make sure it’s the proper kind of date otherwise it decides it’s a local system date and will change it to system local when run. Sure it’s all handled but there are many easy mistakes to make when working with time.

      I probably didn’t even get to the real reason, I sort of picked this up on my own.

      • lugal@sopuli.xyz
        link
        fedilink
        arrow-up
        5
        ·
        5 months ago

        Sounds like daylight saving is the bigger issue. Maybe not bigger but when you compare cost and benefit. I think the US uses even different start and end dates than the EU and I don’t know about the rest of the world