cross-posted from: https://lemmy.world/post/33569521

Does anyone know why the “render” of the data would be wrong? I changed it from the US format to the ISO 8601.

Edit: Adding some spaces in the equation helped.

  • PhilipTheBucket@quokk.au
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    Me: Oh, I’ve been bitten by something like that in code, I bet it’s a subtle timezone issue where applying the current timezone to the 00:00:00-timestamped datetime encoding of the date, and then truncating it back to the date only, winds up shifting…

    Me, after reading: What the FUCK, why