.
D 2001-04-03T12:38:05
J assignee nobody
J cmimetype text/plain
J comment Hello,\n\nWe\sseem\sto\shave\sstumble\sacross\sa\spossible\sbug\sin\s"clock\nscan"\scommand\nwhich\soccurs\swith\stcl8.0.5\sas\swell\sas\stcl8.3.2\nversions.\sThe\sfollowing\ntwo\slines\sof\scode\sreturns\sdifferent\sresults,\swhen\nbasevalue\sis\sset\sto\nany\svalue\sbetween\smidnight\sto\s7:00am\sand\sthe\sscript\sis\nrun\sunder\sPacific\ntime-zone:\n\nscan\syear\s-base\s$basevalue\s-gmt\s0\nscan\syear\s-base\s$basevalue\s-gmt\s1\n\nHere's\sa\ssample\soutput\sfor\svarious\sruns,\sthe\sscript\sis\nattached\sas\sa\sfile:\n\nTcl_version=8.3.2\nbase_seconds=985183078,\scurrent_time=Wed\sMar\s21\n05:57:58\sPacific\nStandard\sTime\s2001\n----------+--------------------------+-------------------------------\nRelative\s\s|\s\s\s\s\s\s\s\s\sLocal\sTime\s\s\s\s\s\s\s|\s\s\s\s\s\s\s\s\s\sGMT\nTime\n----------+--------------------------+-------------------------------\n\s\s\s\stoday\s|\sWed\sMar\s21\s05:57:58\s2001\s|\sWed\sMar\s21\n05:57:58\s2001\s\s\n\stomorrow\s|\sThu\sMar\s22\s05:57:58\s2001\s|\sThu\sMar\s22\n05:57:58\s2001\s\s\n\s\s\s\s\sweek\s|\sWed\sMar\s28\s05:57:58\s2001\s|\sWed\sMar\s28\n05:57:58\s2001\s\s\n\s\s4\sweeks\s|\sWed\sApr\s18\s05:57:58\s2001\s|\sWed\sApr\s18\n05:57:58\s2001\s\s\n\s\s\s\smonth\s|\sSat\sApr\s21\s05:57:58\s2001\s|\sFri\sApr\s20\n05:57:58\s2001\s\s*\n\s\s5\sweeks\s|\sWed\sApr\s25\s05:57:58\s2001\s|\sWed\sApr\s25\n05:57:58\s2001\s\s\n\s6\smonths\s|\sFri\sSep\s21\s05:57:58\s2001\s|\sThu\sSep\s20\n05:57:58\s2001\s\s*\n\s26\sweeks\s|\sWed\sSep\s19\s05:57:58\s2001\s|\sWed\sSep\s19\n05:57:58\s2001\s\s\n12\smonths\s|\sThu\sMar\s21\s05:57:58\s2002\s|\sWed\sMar\s20\n05:57:58\s2002\s\s*\n\s52\sweeks\s|\sWed\sMar\s20\s05:57:58\s2002\s|\sWed\sMar\s20\n05:57:58\s2002\s\s\n\s365\sdays\s|\sThu\sMar\s21\s05:57:58\s2002\s|\sThu\sMar\s21\n05:57:58\s2002\s\s\n\s\s\s\s\syear\s|\sThu\sMar\s21\s05:57:58\s2002\s|\sWed\sMar\s20\n05:57:58\s2002\s\s*\n----------+--------------------------+-------------------------------\n*\s\sDates\sfor\slocal\stime\sand\sgmt\stime\sare\sskewed\sby\sone\nday\n\nIt\sis\sinteresting\sto\snote\sthat\sthe\sdates\sare\ssame\swhen\nrelative\stime\nis\sspecified\sas\s"365\sdays",\sbut\sdifferent\swhen\nspecified\sas\sa\s"year"\nThe\sproblem\sseems\sto\soccur\sfor\s"year"\sand\s"month"\nspecifications,\sbut\nnot\swith\s"day"\sor\s"week"\sspecifications.\n\nAny\sidea\swhere\sthe\sproblem\scould\sbe\sand\swhat\swould\sbe\nthe\sfix\sfor\sit?\sOr\nhave\sI\smisunderstood\ssomething?\n\nThanks,\nHemang.\n\n\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter hemanglavana
J subsystem None
J title error\sin\sclock\sscan\sfor\s"month"/"year"
J type Bug
K 413397ffffffffffffffffffffffffffffffffff
U hemanglavana
Z ea25302699b852fdc5857e23f584c834