devilish666@lemmy.world to Programmer Humor@lemmy.ml · 5 months agoDaylight saving creator left the chat....lemmy.worldimagemessage-square36fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageDaylight saving creator left the chat....lemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 5 months agomessage-square36fedilink
minus-squarePhrodo_00@lemmy.worldlinkfedilinkarrow-up0·5 months agoIt depends. If something needs to happen in local time (like, always at the same time regardless of daylights savings for example) you should be storing times in local timezone
minus-squareDaxtron2@startrek.websitelinkfedilinkarrow-up0·5 months agoStore in UTC with the tz offset and if you’re using a modern tz library, that should handle it for you.
It depends. If something needs to happen in local time (like, always at the same time regardless of daylights savings for example) you should be storing times in local timezone
Store in UTC with the tz offset and if you’re using a modern tz library, that should handle it for you.