.
D 2004-09-08T23:11:13
J closedate 2004-09-08T16:11:13
J closer kennykb
J icomment Logged\sIn:\sYES\s\nuser_id=99768\n\nThe\sclock-34.*\stests\swere\shitting\sa\struly\sweird\sproblem.\n\nThe\slegacy\s[clock\sscan]\suses\sthe\sC\slibrary\sto\sdetermine\nwhether\sthe\sdate\sin\squestion\sis\sin\ssummer\sor\swinter\stime\n(and,\sin\sfact,\sto\sdo\sall\sthe\stime\sconversions).\s\sThe\nstrftime\sand\smktime\sroutines\sin\sthe\sVC\s(and\spresumably\nBorland)\slibraries\shave\sa\smissing\sfeature\sthat\sthey\scan't\ncope\swith\schanges\sof\sthe\srules.\s\sBack\sin\s1992,\sSummer\nTime\sended\sin\sthe\sEU\son\sthe\slast\sSunday\sof\sSeptember,\nbut\sthe\sC\slibrary\sincorrectly\sapplies\sthe\scurrent\srule\sto\nthe\shistoric\stime.\n\nThe\sfix\sin\sthe\stest\scases\sis\sto\suse\s-timezone\s:localtime,\nso\sthat\sboth\sinput\sand\soutput\sconversions\suse\sthe\sC\nlibrary\scode,\sand\sthat's\swhat\sI've\sdone.\s\sBut\swhat\swould\nreally\sbe\sdesirable\sis\sto\srefactor\sTclGetDate\sso\sthat\nthe\sConvert\sprocedure\sis\seliminated\sand\sthe\sraw\sfields\nfrom\sthe\sYACC\sparse\sare\sreturned.\n\nThe\sproblem\sis\sgreatly\scomplicated\sby\sthe\sfact\sthat\n'make\sgendate'\sis\sbroken\sagain\s-\sas\sfar\sas\sI\scan\stell,\nit\sdoes\snot\seven\swork\son\sSolaris\sany\smore.\s\sSo\sbefore\nI\scan\stackle\sthat\sone,\sI\sneed\sto\srevise\sthe\sbuild\ssystem\nfor\sTclGetDate\syet\sagain.\s\sOh,\sjoy.\n\nIn\sany\scase,\sthe\stest\sfailures\sare\ssilenced,\sso\sI'm\nclosing\sthis\sbug.\n
J login kennykb
J mimetype text/plain
J resolution Fixed
J status Closed
J username kennykb
K 1023779fffffffffffffffffffffffffffffffff
U kennykb
Z 38a80a3aa28b569af4eb7089a6370c1c