Skip to content
Tcl Source Code Artifact [9e1105c2a6]
Login

Artifact [9e1105c2a6]

Artifact 9e1105c2a6fef81948d585458d86ebc3839730d7975498e96fe298b97559a931:

Ticket change [9e1105c2a6] - Ticket [a1bd37b7198f7bf5|a1bd37b719] <i>clock (free)scan of ISO 8601 timestamp with literal T behaves strange</i> status still Open with 3 other changes by sebres on 2020-05-25 13:09:30.
D 2020-05-25T13:09:30.803
J comment It\slooks\slike\sclock\sfree\sscan\srecognizes\sliteral\s"T"\sin\s(undocumented?)\sISO\s8601\stimestamp\sincorrectly,\sI\sguess\sas\sa\slegacy\s(military?)\stimezone\s"T".\r\n<pre\sstyle="padding-left:10pt">\r\n#\sISO:\r\n%\sclock\sformat\s[clock\sscan\s"20200520\s14:40:00"\s-gmt\s1]\s-gmt\s1\r\nWed\sMay\s20\s<b\sstyle="color:green">14:40:00</b>\sGMT\s2020\r\n%\sclock\sformat\s[clock\sscan\s"20200520T14:40:00"\s-gmt\s1]\s-gmt\s1\r\nWed\sMay\s20\s<b\sstyle="color:green">14:40:00</b>\sGMT\s2020\r\n\r\n#\sISO-similar\sformat:\r\n%\sclock\sformat\s[clock\sscan\s"2020-05-20\s14:40:00"\s-gmt\s1]\s-gmt\s1\r\nWed\sMay\s20\s<b\sstyle="color:green">14:40:00</b>\sGMT\s2020\r\n%\sclock\sformat\s[clock\sscan\s"2020-05-20T14:40:00"\s-gmt\s1]\s-gmt\s1\r\nWed\sMay\s20\s<b\sstyle="color:red">21:40:00</b>\sGMT\s2020\r\n%\sclock\sformat\s[clock\sscan\s"2020-05-20\s14:40:00\s\sT"\s\s\s\s]\s-gmt\s1\r\nWed\sMay\s20\s<b\sstyle="color:red">21:40:00</b>\sGMT\s2020\r\n</pre>\r\nThis\sseems\snot\scorrect\sin\smy\sopinion\s(despite\sthe\sdocumentation\ssays\sabout\sliteral\s"T"\sby\sISO\swithout\s"-"\sseparator\sin\sdate\sonly,\srecognize\s"T"\sas\stimezone\slooks\sweird\sto\sme).\s\r\n\r\nI\sthink\seither\swe\smust\saggressively\sstrict\sthe\stimezones\sbison/yacc\srules\s(must\sconsider\sword\sboundaries\sor\ssomething\ssimilar)\sor\sISO\sformat\smust\sbe\sextended\swith\sYYYY-MM-DD\sdate.
J login sebres
J mimetype text/plain
K a1bd37b7198f7bf51e8f1f554435045bf6cc8b68
U sebres
Z f8c270f3da1316397efacef8a418e5e0