3 ms·
Temporal will be really nice in that it supports remote time zones, allows you to iterate through daylight saving transitions, etc. I can't wait for it to be f
by scottlamb 2y ago
Temporal will be really nice in that it supports remote time zones, allows you to iterate through daylight saving transitions, etc.
I can't wait for it to be fully taken advantage of by things such as mui's date time picker. Imagine if after selecting the fall back day, it saw the transition and let you pick a time during the extra hour. If after selecting the spring forward day, it wouldn't let you pick a time during the hour that doesn't exist. Today that doesn't work because everyone uses different crappy third-party libraries and mui functions on top of a lowest-common adapter that certainly doesn't do stuff like "show me the DST transitions in this day".
This stuff matters sometimes; a user of my NVR wanted to save a clip during the fall back hour and got the wrong result because these things just don't work right today. https://github.com/scottlamb/moonfire-nvr/issues/244 https://github.com/scottlamb/moonfire-nvr/issues/244