Skip to content
Tcl Source Code Artifact [d93f523e71]
Login

Artifact [d93f523e71]

Artifact d93f523e718d1b26e774dfe4ea665fe8cd6463d09f93f27193cfe9737d817e9d:

Ticket change [d93f523e71] - Closed ticket [f2b5f89c0d8520ea|f2b5f89c0d]: <i>clock scan of leapsecond: wrong result in 8.6 and 9.0</i> plus 6 other changes by jan.nijtmans on 2024-11-21 12:31:01.
D 2024-11-21T12:31:01.142
J closedate 2460636.021541
J closer jan.nijtmans
J icomment Closing,\ssince\svalid\sleap-second\stimestamps\sare\snow\shandled\sas\sbeing\svalid.\r\n\r\n>\sI'm\strying\sto\simplement\sthis\sproperly\s(see\smy\snew\sbranch\sbug-f2b5f89c0d-alt-leapsec)\sby\sconsulting\sthe\sleap\sseconds\stable\swith\sconverted\sUTC\stime\r\n\r\nSure,\ssome\snon-valid\stimestamps\sare\saccepted\sas\svalid\snow.\sBut\s-\sstill\s-\sthe\scurrent\sapproach\sis\suseful\seven\sfor\san\sadditional\stable-based\scheck:\sIf\syyMinute\s%\s15\s!=\s14\s(for\sexample)\sor\sthe\sdate\sis\snot\sJanuary\s1st,\sJune\s30th,\sJuly\s1st\sor\sDecember\s31th,\sthere\sis\sno\sneed\seven\sto\sconsult\sthe\stable.\sThat's\salready\shandling\s99.93%\sof\sall\scases!\r\n\r\n>\sISO\scan\schange\ssomething\severy\syear,\sand\sone\scan\sand\sprobably\smust\sreflect\sit\son\sthe\sscanning\sof\sthe\sinput\sside,\sbut\snot\sif\sthe\sresult\sof\sconversion\sis\simpossible\sin\sprinciple.\r\n\r\nI\sdon't\sthink\sthe\sISO\s8601\sstandard\schanges\sthat\soften.\sNow\swe\sare\sconformant\sto\sthe\s2022\sversion.\sIf\s-\sin\sthe\sfuture\s-\s"leap\sminutes"\sare\sintroduced,\swe\swill\sneed\sto\schange\sthe\simplementation\sagain.\sFor\snow,\sthe\s2022\sversion\sis\sthe\sbest\swe\scan\sdo.\r\n\r\nThanks!
J login jan.nijtmans
J mimetype text/x-fossil-wiki
J resolution Fixed
J status Closed
K f2b5f89c0d8520ea86b929daa19ec13fc3a24d2d
U jan.nijtmans
Z 18a6d0f8b2f32fac2c4d15da59bcc996