• Fal@yiffit.net
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    7 months ago

    Logging in local time is fine as long as the offset is marked. Everything else I agree with you though

    • nous@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 months ago

      You lose information when DST kicks in - which is not great. It is trivial to convert to any timezone so there is little point in logging in anything but UTC and keeps everything consistent. Especially when comparing dates from servers in different timezones.

      • Alexstarfire@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        7 months ago

        My job would be much easier if everything was stored internally in UTC. But that boat sailed long before I started working there. Instead, I get to convert from local server time to UTC to local client time. 😭

      • Fal@yiffit.net
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        7 months ago

        You don’t lose info as long as the offset is marked correctly

    • lysdexic@programming.devOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      Logging in local time is fine as long as the offset is marked.

      I get your point, but that’s just UTC with extra steps. I feel that there’s no valid justification for using two entries instead of just one.