Skip to content
Tcl Source Code Artifact [30ee18d61b]
Login

Artifact [30ee18d61b]

Artifact 30ee18d61b182d025afb368fe0ddcc1cfb9ff256:

Ticket change [30ee18d61b] - New ticket [1746193fffffffff|1746193fff] <i>[clock add] month miscalculation in Chicago time</i>. by andygoth on 2007-07-01 21:44:08.
D 2007-07-01T21:44:08
J assignee dkf
J cmimetype text/plain
J comment In\sthe\sChicago\s(Central)\stime\szone,\s[clock\sadd]\scan\smiscalculate\smonth\saddition\sand\ssubtraction:\n\n[clock\sformat\s[clock\sadd\s[clock\sscan\s"May\s01\s00:00:00\s1970"\s-timezone\s:UTC]\s1\smonth]\s-timezone\s:UTC]\nreturns\s"Sun\sMay\s31\s00:00:00\sUTC\s1970"\n\n[clock\sformat\s[clock\sadd\s[clock\sscan\s"May\s31\s00:00:00\s1970"\s-timezone\s:UTC]\s-1\smonth]\s-timezone\s:UTC]\nreturns\s"Fri\sMay\s01\s00:00:00\sUTC\s1970"\n\nChanging\sthe\stime\szone\sto\sUTC\sor\sCEST\sfixes\sthe\sproblem:\n\n[clock\sformat\s[clock\sadd\s[clock\sscan\s"May\s01\s00:00:00\s1970"\s-timezone\s:UTC]\s1\smonth]\s-timezone\s:UTC]\nreturns\s"Mon\sJun\s01\s00:00:00\sUTC\s1970"\n\nProbably\sother\stime\szones\swork\sas\swell.\s\sIt's\salso\spossible\sother\stime\szones\sare\sbroken.\s\sIt\scould\sbe\sthat\sthe\sChicago\stime\szone\sis\sonly\sbroken\swhen\sin\sDaylight\sSaving\stime.\n\nThis\soccurs\sin\sboth\sSlackware\sLinux\sand\sMS-Windows\sXP.
J foundin obsolete:\s8.5a7
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter andygoth
J subsystem 16.\sCommands\sA-H
J title [clock\sadd]\smonth\smiscalculation\sin\sChicago\stime
J type Bug
K 1746193fffffffffffffffffffffffffffffffff
U andygoth
Z 75715205efb9bf9ebc663561a694c1da