.
D 2018-05-21T21:06:42.830
J assignee nobody
J closer nobody
J cmimetype text/html
J comment <p>[clock\sformat\s-timezone\s:America/Anchorage]\sproduces\sa\stimezone\sstring\sof\sAKDT\sor\sAKST,\sneither\sof\swhich\sis\ssupported\sby\s[clock\sscan].\s\sThis\saffects\sboth\sthe\slegacy\sfreeform\sand\sthe\snew\sparsers.</p>\r\n\r\n<pre>\r\n%\sclock\sformat\s[clock\sseconds]\s-timezone\s:America/Anchorage\r\nMon\sMay\s21\s11:53:41\sAKDT\s2018\r\n%\sclock\sscan\s"Mon\sMay\s21\s11:53:41\sAKDT\s2018"\r\nunable\sto\sconvert\sdate-time\sstring\s"Mon\sMay\s21\s11:53:55\sAKDT\s2018":\ssyntax\serror\s(characters\s19-23)\r\n%\sclock\sscan\s"Mon\sMay\s21\s11:53:55\sAKDT\s2018"\s-format\s"%a\s%b\s%d\s%H:%M:%S\s%z\s%Y"\r\ntime\szone\s"akdt"\snot\sfound\r\n%\sdict\sset\s::tcl::clock::LegacyTimeZone\sakdt\s-0800\r\n%\sclock\sscan\s"Mon\sMay\s21\s11:53:55\sAKDT\s2018"\s-format\s"%a\s%b\s%d\s%H:%M:%S\s%z\s%Y"\r\n1526932435\r\n</pre>\r\n\r\n<p>As\sshown\sabove,\sthe\snew\sparser\scan\sbe\spatched\sby\sediting\s$LegacyTimeZone:</p>\r\n\r\n<pre>\r\ndict\sset\s::tcl::clock::LegacyTimeZone\sakdt\s-0800\r\ndict\sset\s::tcl::clock::LegacyTimeZone\sakst\s-0900\r\n</pre>\r\n\r\n<p>The\slegacy\sparser\scan\sonly\sbe\sfixed\sby\sediting\stclGetDate.y.</p>\r\n\r\n<ul><li><a\shref="http://core.tcl.tk/tcl/artifact/7159dd873c567e10?ln=534-622">New\sparser</a></li>\r\n<li><a\shref="http://core.tcl.tk/tcl/artifact/7b3b76f504f8c46f?ln=592-671">Legacy\sparser</a></li></ul>\r\n\r\n<p>Side\snote:\swhile\sresearching\sthis\sissue,\sI\snoticed\sseveral\stimezones\snamed\szp[456]\swhich\sdo\snot\swork\sin\sthe\slegacy\sfreeform\sparser\sdue\sto\sTclDatelex()\snot\srecognizing\sthe\strailing\sdigit\sas\spart\sof\sthe\stoken.\s\sNot\sknowing\sanything\sabout\sthese\stimezones,\sI\sdon't\sfeel\squalified\sto\sfile\sa\sseparate\sticket\son\sthem.\s\sIf\sany\swork\sis\sdone\sin\sthis\sarea,\sI\swould\salso\ssuggest\sconfirming\sthat\sall\stimezone\sstrings\sthat\scan\sbe\sgenerated\sby\s[clock\sformat]\scan\salso\sbe\srecognized\sby\s[clock\sscan]\susing\sboth\sthe\slegacy\sfreeform\sand\snew\sTcl\sparsers.</p>
J foundin 8.6.8
J is_private 0
J login andy
J priority 5\sMedium
J private_contact 662c23482b0bf6a505f39e48fb7ad43af8dee4d3
J resolution None
J severity Important
J status Open
J submitter andy
J subsystem 16.\sCommands\sA-H
J title [clock\sscan]\sdoes\snot\srecognize\sAKST\sor\sAKDT
J type Bug
K dc69e5ecf04313429fd202b1906cd85bb7888f95
U andy
Z ce5a01e117a3a8d17591787494e40efa