.
D 2003-02-25T16:13:11
J assignee dkf
J cmimetype text/plain
J comment clock\sscan\scan\snot\sconvert\stime\sin\shhmm\sformat\swhere\shh\n=\s00\sand\smm\s>\s23.\sThe\sroot\sof\sthe\sproblem\sseems\sto\sbe\nthat\sit\sstrips\sleading\s0's\sand\s0023\sbecomes\s2300.\sIf\nthis\sis\sthe\sintended\sbehavior,\sthen\sthe\sdocumentation\nshould\sbe\supdated.\n\nhttp://www.tcl.tk/man/tcl8.4/TclCmd/clock.htm\sindicates\nthe\sfollowing\sfor\sthe\s"time"\svalues\sin\sthe\s"dateString"\nargument\sof\sthe\sclock\sscan\scommand:\n\ntime\nA\stime\sof\sday,\swhich\sis\sof\sthe\sform:\shh?:mm?:ss??\n?meridian?\s?zone?\sor\shhmm\s?meridian?\s?zone?.\sIf\sno\nmeridian\sis\sspecified,\shh\sis\sinterpreted\son\sa\s24-hour\nclock.\n\nhowever\sit\scan\scorrectly\sconvert\shh:mm\swith\ssame\svalues.\n\n%\sparray\stcl_platform\ntcl_platform(byteOrder)\s=\sbigEndian\ntcl_platform(machine)\s\s\s=\ssun4u\ntcl_platform(os)\s\s\s\s\s\s\s\s=\sSunOS\ntcl_platform(osVersion)\s=\s5.8\ntcl_platform(platform)\s\s=\sunix\ntcl_platform(user)\s\s\s\s\s\s=\sbschofie\ntcl_platform(wordSize)\s\s=\s4\n%\sputs\s$tcl_patchLevel\n8.4.1\n%\sclock\sscan\s00:24\n1046150640\n%\sclock\sscan\s0024\nunable\sto\sconvert\sdate-time\sstring\s"0024"\n%\sclock\sscan\s0023\n1046232000\s\s\s<-----------------\swrong\svalue\n%\sclock\sscan\s00:23\n1046150580\n%\sclock\sscan\s23\n1046232000\n\n\nThanks\s-\s\nBryan\sSchofield\n
J foundin obsolete:\s8.4.1
J priority 5\sMedium
J resolution None
J status Open
J submitter lewca43
J subsystem 16.\sCommands\sA-H
J title clock\sscan\seats\sleading\s0's\swith\shhmm\stime\sformat
J type Bug
K 692992ffffffffffffffffffffffffffffffffff
U lewca43
Z 0e014ef453579e56a7741b76c5c2d972