𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoDaylight saving creator left the chat....lemmy.worldimagemessage-square38fedilinkarrow-up1401
arrow-up1401imageDaylight saving creator left the chat....lemmy.world𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square38fedilink
minus-squarePhrodo_00@lemmy.worldlinkfedilinkarrow-up2·1 year agotz offset is really not enough. You’d need to save the time zone id and/or offset, to have you library calculate deviations such as daylight savings. Even that, that would break if the user moves and now what they setup is using their previous timezone. Basically, I’m saying that storing the offset works most of the time, but not all of the time.
tz offset is really not enough. You’d need to save the time zone id and/or offset, to have you library calculate deviations such as daylight savings.
Even that, that would break if the user moves and now what they setup is using their previous timezone.
Basically, I’m saying that storing the offset works most of the time, but not all of the time.