<i>Command [clock scan "10/29/00 1 days"] returns incorrect dat</i>.
by
.
D 2000-10-26T00:56:51
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s4316\sBug\nVersion:\s8.1\nSubmitDate:\s'2000-03-06'\nLastModified:\s'2000-03-10'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\sericm\nOS:\sWindows\sNT\nOSVersion:\sWindows\sNT\nMachine:\sIBM\sCompatible\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-03-10'\n\n\nName:\nChristian\sG.\sJantz\n\nExtensions:\nNone\n\nCustomShell:\nNone\n\nReproducibleScript:\nI\shave\sbeen\sexperiment\swith\sTcl80\sand\sTcl81.\sThe\sclock\sscan\scommand\sdoes\snot\salways\sreturn\sthe\sdate\swhich\sI\sexpect.\nWhen\sI\srun\sthis\stwo\sline\sprogram,\sif\sI\suse\stcl80,\sI\sget\s10/30/00.\sIf\sI\suse\stcl81,\sI\sget\s10/29/00.\nset\sGoalDate\s[\sclock\sformat\s[\sclock\sscan\s"10/29/00\s1\sdays"\s]\s-format\s"%D"\s]\nputs\s"$GoalDate"\n\nObservedBehavior:\nThe\sdate\sbeing\sreturned\sis\snot\swhat\sI\sexpect.\n\n\n\nThis\sis\smost\slikely\sbecause\sof\sthe\sdaylight\ssavings\stime\srollover\sthat\soccurs\son\sthat\sdate.\s\sWithout\sknowing\swhat\stimezone\syou\sare\sin,\sI\scannot\sbe\s100%\scertain\sthat\sis\sthe\sproblem\syou\sare\sseeing,\sbut\sI\sam\sreasonably\sconfident\sthat\sit\sis.\n\nThe\sproblem\shas\sbeen\sfixed\sas\sof\s8.3.0,\sin\swhich\swe\soverhauled\sparts\sof\sthe\sclock\sscan\ssubsystem\sso\sthat\sit\swould\shandle\sDST\sconversions\sproperly.\s\sNow\swith\s8.3.0,\sI\ssee\sthe\sfollowing\sresult:\n\n%\sinfo\spatch\n8.3.0\n%\sclock\sformat\s[clock\sscan\s"10/29/00\s1\sdays"]\nMon\sOct\s30\s00:00:00\sPST\s2000\n%\s\n\n-\seric\n\n--\s03/10/2000\sericm\n\n
J foundin obsolete:\s8.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Command\s[clock\sscan\s"10/29/00\s1\sdays"]\sreturns\sincorrect\sdat
J type Bug
K 218376ffffffffffffffffffffffffffffffffff
U nobody
Z dc1015435d537cd3b5d365a2ce1af1b1