3 ms·
> Large parts of the world shift civil time by an hour twice a year. Yes, and how many things break every time this common thing occurs? Or every four years wh
by throw0101a 5y ago
> Large parts of the world shift civil time by an hour twice a year.
Yes, and how many things break every time this common thing occurs? Or every four years when February 29 rears its ugly head.
And these are code paths that should be well tested because of their frequency.
- iso1631 5y agoPOint is we can cope with the sun directly overhead at 14:20 (as it is today in Madrid), or at 11:20 (as it is in Warsaw in November) A drift of a minute over a lifetime makes no difference. We should just use TAI (with timezone offsets) for general time and be done with it. Even today UT1 is widely different to UTC (183ms), so it's not like using UTC is accurate. Why is 183ms an acceptable difference (no leap milliseconds), a couple of hours (timezone sizes), one hour (DST), but we have to correct for 40 seconds each century?