<i>[clock add] month miscalculation in Chicago time</i> status still Open with 4 other changes
by
.
D 2007-07-02T05:17:03
J icomment Logged\sIn:\sYES\s\nuser_id=8653\nOriginator:\sYES\n\nThe\sproblem\sappears\sto\sbe\sin\s[clock\sadd].\s\s[clock\sscan]\sand\s[clock\sformat]\sgenerate\sthe\sright\sresults,\sof\scourse\sassuming\sGNU\sdate\sis\sright.\s:^)\n\n[clock\sadd\s12960000\s-1\smonth]\sreturns\s10368000,\swhich\sis\sMay\s1.\s\sIt\sshould\sreturn\s10281600,\sor\sApr\s30.\s\sThe\stwo\svalues\sdiffer\sby\s86400,\sone\sday.\n\nHmm,\scome\sto\sthink\sof\sit...\s[clock\sadd]\stakes\sa\s-timezone\sargument\sas\swell.\s\sPassing\sin\s-timezone\s:UTC\sto\s[clock\sadd]\smakes\sit\sreturn\s10281600,\sthe\sexpected\sresult.\s\sI'm\sunsure\swhy\sthe\s-timezone\sargument\smatters\sin\sthis\scase,\sthough.\s\sThis\smay\sstill\sbear\sinvestigation.\n
J login andygoth
J mimetype text/plain
J username andygoth
K 1746193fffffffffffffffffffffffffffffffff
U andygoth
Z 1b7070423997c85da259a5a35070f62c