Skip to content
Tcl Source Code Artifact [5069de6901]
Login

Artifact [5069de6901]

Artifact 5069de690100e7783e6c5a01ee60ecdb7ec32650:

Ticket change [5069de6901] - New ticket [218250ffffffffff|218250ffff] <i>clock scan Bug</i>. by nobody on 2000-10-26 00:55:03.
D 2000-10-26T00:55:03
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2843\sBug\nVersion:\s8.2\nSubmitDate:\s'1999-09-20'\nLastModified:\s'1999-09-20'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sOther\nOSVersion:\sLinux\sSuSE\s6.2\nMachine:\sNA\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-09-20'\n\n\nName:\nMarc\sZiegenhagen\n\nReproducibleScript:\nI\swoud\slike\sto\swork\swith\sthe\sclock\sscan\sfunction\sbut\sit\sthose\snot\sright.\n\s\s\s\sI\slike\sto\sconvert\sDates\solder\sthan\s1970\sbut\sthis\snot\sworks\scorrectly.\n\s\s\s\sThe\sDate\s8.\sApril\s1968\sdoes\snot\swork,\sbut\sthe\s8.\sApril\s1969\sworks\sand\n\s\s\s\salso\sthe\s8.\sApril\s1988.\s\n\s\s\s\sAn\sother\sQuestion\swhat\sit\sbrings\sback\swhen\sthe\ssystemdate\sis\sin\s2000\sor\n\s\s\s\shigher\sis\sthe\sdefault\sof\n\s\s\s\sthe\svalue\swho\swill\sbe\sadded\sto\s2\sdigit-Year\s2000\sor\s1900?\sIn\sthe\smanual\n\s\s\s\sit's\swriten\s1900!\n\nObservedBehavior:\nclock\sscan\s"4/8/68\s0:0:0"==>unable\sto\sconvert\sdate-time\sstring\s"4/8/68\n\s\s\s\s0:0:0"\n\s\s\s\sclock\sscan\s"4/8/69\s0:0:0"==>-23158800\n\s\s\s\sclock\sscan\s"4/8/88\s0:0:0"==>576453600\n\nDesiredBehavior:\nI\swill\ssee\sa\s\sminus\svalue\slike\sthe\sother\sone.\n\n\n\nThis\sis\snot\sa\sbug.\s\sThe\sepoch\son\sUnix\sstarts\sin\s1969,\sand\sthe\ntime\sfunction\sallows\sdates\sin\sthat\syear,\sbut\snot\searlier.\s\sYou\nsee\sthe\snegative\snumber\sfor\sdates\sbefore\sDec\s31,\s1969\s(the\sactual\nday\sof\sthe\sepoch).\s\sYou\sneed\sto\sbuild\sa\smore\sgeneric\slayer\sto\nsupport\sdates\soutside\sof\swhat\sUnix\snormally\sprovides.\s\sFor\sY2K\ninfo,\ssee\shttp://www.scriptics.com/Y2K.html\s(Tcl\sis\sY2K\ssafe).\s\n--\s09/20/1999\shobbs
J foundin obsolete:\s8.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title clock\sscan\sBug
J type Bug
K 218250ffffffffffffffffffffffffffffffffff
U nobody
Z 50cf46a39e3ec84e1825efe8932638c3