• souperk@reddthat.com
    link
    fedilink
    arrow-up
    23
    ·
    4 months ago

    Me neither buddy, me neither…

    Falsehoods About Time: … Time always moves forwards.

    I had to learn this the hard way… I was working at a platform that pulled measurements from sensors. The sensors did not declare the timezone for the timestamps of the measurement and the platform broke down twice after daylight saving. The first time there were duplicated records which caused conflicts and the second one we weren’t handling impossible timestamps.

    • AggressivelyPassive@feddit.de
      link
      fedilink
      arrow-up
      19
      ·
      4 months ago

      I had a client whose clock was just a few milliseconds behind the server’s, but due to timezone crap one hour in the past. And the signature was valid for one hour.

      If the network just happened to be too congested, the validation failed. The next request went through just fine. Took us forever to find out.