• Scrubbles@poptalk.scrubbles.tech
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    2
    ·
    7 months ago

    Developers are the only people against DST changes, just because of how complex it will get. Dear God cities are removing DST! Cities! It means I need to know if you are in or out of a city to know if you need to be shown daylight or standard time!

    Just please do it nationally yes or no

      • ulterno@lemmy.kde.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 months ago

        That’s essentially what I did in my recent UI that I made for someone.

        • You want to insert date time
        • Select method: UTC, Time Zone, offset from GMT
        • Enter time
        • I convert it to UTC and send to backend
      • MotoAsh@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        6 months ago

        That… still requires knowing which time zone to display. It doesn’t remove the requirement at all.

          • MotoAsh@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            6 months ago

            and who implements localtime? You realize these functions call down to the system, and the system is very much ALSO written and maintained by coders…

            The point is SOMEONE actually does have to implement it and maintain it.

    • grue@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      7 months ago

      Dear God cities are removing DST! Cities! It means I need to know if you are in or out of a city to know if you need to be shown daylight or standard time!

      That’s why it’s lucky that identifiers in the tz database are already things like America/New_York instead of “eastern time.”

    • Albbi@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      Newfoundland has only just over 500k population and has a nice GMT-2:30 time zone. That’s an extra half hour difference. Many cities are larger so I can see them wanting better time for themselves.