Praise the sun!

  • Spider@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 days ago

    Not the person you responded to , but the “render local time on the client side” is the tricky part, especially when the time is in the past or future relative to current. Theres a hundred edge cases to consider and many of them very non-obvious to our feeble linear time oriented mortal minds.

    • bamboo@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 days ago

      Yes, I’m familiar with the Tom Scott video, but even he says at the end to store data in UTC and use a library like tzdata for rendering, don’t do it yourself. I was more curious about what day to day issues were happening because of DST, since that seems like bad implementation, and not an impossible problem that would be causing half of all IT issues.