4 ms·
This thread is making me panic that I don't understand handling time in programming and now I am paranoid that one day it will bite me hard. What is a good pri
by ak_111 2y ago
This thread is making me panic that I don't understand handling time in programming and now I am paranoid that one day it will bite me hard.
What is a good primer in understanding most of the serious issues raised in this thread and how they manifest themselves in (preferably) languages like Python?
- codersfocus 2y agoRead the luxon.js docs (the timezone section.) It’s the successor to moment.js. They do a great job explaining the common footguns developers face.
- Kailhus 2y agoInteresting, some of us migrated to date fns since
- codersfocus 2y agoIf you read GitHub issues for datefns you’ll find examples where it doesn’t handle timezones correctly
- namtab00 2y agoThis is for .NET, but the issues described stand for any stack: https://codeblog.jonskeet.uk/2019/03/27/storing-utc-is-not-a-silver-bullet/ https://codeblog.jonskeet.uk/2019/03/27/storing-utc-is-not-a...