I know this isn’t any kind of surprise, and yet, well…

  • @accidentalloris
    link
    4110 months ago

    Then there’s my code, which didn’t even survive the time change.

    • @[email protected]
      link
      fedilink
      English
      1410 months ago

      In every project I’ve ever worked on, there’s been somebody who must have been like, “HurDur Storing timestamps in UTC is for losers. Nyeaahh!”

      And if I ever find that person, I’m going to get one of those foam pool noodles, and whack him/her over the head with it until I’ve successfully vented all my frustrations.

      • @humorlessrepost
        link
        English
        1610 months ago

        I just use a float between 0 and 1 with 0 being 1970 and 1 being the predicted heat death of the universe.

        • Rikudou_Sage
          link
          fedilink
          110 months ago

          Isn’t it like trillions trillions trillions… years in the future?

          • @humorlessrepost
            link
            English
            2
            edit-2
            10 months ago

            It’ll lose most of its accuracy long after all life stops existing, so nobody will be around to file bug tickets.

      • @48954246
        link
        English
        310 months ago

        The only time using UTC breaks down is when any sort of time change gets involved.

        If I say I want a reminder at 9am six months from now and you store that as UTC, a day light savings change will mean I get my reminder an hour early or late depending on where in the world I am