<i>clock timezone tests fail when ran against system tzdata</i> status still Open with 3 other changes
by
.
D 2026-03-02T13:14:16.539
J icomment Short\sanalyze\sshows\sthat\sthere\sare\sbasically\s2\sissues:\r\n\r\n1.\sthe\sformat\sof\sTZ\swithout\sTcl's\stzdata\suses\s+02\sinstead\sof\s+0200\sfor\s%Z\stoken,\sso\sthe\svalue\sof\sv\scontains:\r\n<code><pre\sstyle="padding-left:15pt">\r\n<b\sstyle="color:red;">2023-11-15\s00:13:20\s+02</b>\s\s\s\s<i\sstyle="color:#777;">#\s-\sno\stzdata</i>\r\n<b\sstyle="color:green;">2023-11-15\s00:13:20\s+0200</b>\s\s<i\sstyle="color:#777;">#\s-\swith\stzdata</i>\r\n</pre></code>\r\nwhat\swould\sbe\snot\sa\slarge\sproblem,\sif\swe\sdidn't\shave\sanother\sissue,\snamely:\r\n\r\n2.\sthe\sfree\sscan\sconsider\s+02\sin\sopposite\sto\sformatted\sscan\sas\s+2\sminutes\s"zone",\sso\sfor\sthe\sfree\sscan\sit\sis\sthe\ssame\sthan\s+0002\sand\snot\s+0200:\r\n<code><pre\sstyle="padding-left:15pt">\r\n%\sputs\s[clock\sformat\s[clock\sscan\s"2023-11-15\s00:13:20\s+02"\s-format\s"%Y-%m-%d\s%H:%M:%S\s%Z"]\s-gmt\s1]\r\nTue\sNov\s14\s22:13:20\sGMT\s2023\r\n%\sputs\s[clock\sformat\s[clock\sscan\s"2023-11-15\s00:13:20\s+02"]\s-gmt\s1]\r\nWed\sNov\s15\s00:11:20\sGMT\s2023\r\n%\sputs\s[clock\sformat\s[clock\sscan\s"2023-11-15\s00:13:20\s+0002"]\s-gmt\s1]\r\nWed\sNov\s15\s00:11:20\sGMT\s2023\r\n%\sputs\s[clock\sformat\s[clock\sscan\s"2023-11-15\s00:13:20\s+0200"]\s-gmt\s1]\r\nTue\sNov\s14\s22:13:20\sGMT\s2023\r\n</pre></code>\r\nwhat,\sregardless\sthe\sissue\s1,\sis\sdefinitely\sa\sbug\sin\smy\sopinion.
J login sebres
J mimetype text/x-fossil-wiki
K 51aa53616067cb63900b17ca1d71f07b094ffa1a
U sebres
Z 1652a68c651838ae70d2ddd5fae159f7