Skip to content
Tcl Source Code Artifact [44c422e883]
Login

Artifact [44c422e883]

Artifact 44c422e883412e76869c0c826f7547170ae69a2f:

Ticket change [44c422e883] - New ticket [3431943fffffffff|3431943fff] <i>clock scan with %y is not handled correctly</i>. by jeremy_c on 2011-11-01 14:46:42.
D 2011-11-01T14:46:42
J assignee kennykb
J cmimetype text/plain
J comment The\sdocumentation\sstates\sthat\s%y\sis\sa\s2\sdigit\syear.\sHowever,\sclock\sscan\swill\sallow\sit\sto\sbe\sa\s1\sdigit\syear\s(which\sdoesn't\shappen\sin\sthe\sreal\sworld,\sand\sif\sit\swould,\sit\swould\smost\slikely\sbe\sprefixed\swith\sa\szero).\sAn\sexample:\n\nputs\s[clock\sformat\s[clock\sscan\s01221\s-format\s%m%d%y]]\n#\soutput\s=\sMon\sJan\s22\s00:00:00\sEST\s2001\n\nI\swould\shave\sexpected\sthe\soutput\sto\sbe\san\serror\sindication\sthat\sone\scould\sthen\suse\scatch\son:\n\nputs\s[clock\sformat\s[clock\sscan\s01221\s-format\s%m%d%y]]\n#\sinput\sstring\sdoes\snot\smatch\ssupplied\sformat\n\nFor\sexample:\n\nputs\s[clock\sformat\s[clock\sscan\s1\s-format\s%m%d%y]]\n#\sinput\sstring\sdoes\snot\smatch\ssupplied\sformat\n\nI\sam\susing\s8.6b2\sbut\shave\sconfirmed\sthe\sproblem\son\s8.5\sas\swell.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter jeremy_c
J subsystem 06.\sTime\sMeasurement
J title clock\sscan\swith\s%y\sis\snot\shandled\scorrectly
J type Bug
K 3431943fffffffffffffffffffffffffffffffff
U jeremy_c
Z 223c1f715bbbf43049ad259ee5d60fff