Howland Craig D (Craig)
Sun Sep 18 12:13:00 GMT 2011
I've taken a look and agree with the logical analysis that an adjustment
is needed, and that the patch given does so appropriately. (Perhaps
this saves Corinna a few minutes.)
From: firstname.lastname@example.org [mailto:email@example.com]
On Behalf Of Steven Abner
Sent: Tuesday, September 13, 2011 12:29 PM
Subject: Re: mktime()
Thought you might like this? :0 Figured I'd keep within thread.
Test case not supplied, just logic:
Given Jan 1st in the British Isles, UTC0, and they decide to go DST on
Jan 1st at 2AM of 1 hour, the POSIX standard format for that is ",J1/2".
__tzrule[i].ch = J;
__tzrule[i].d = 1;
days = 0 + 1 + 0;
change = 1 * 86400 + 7200 + 0;
instead of 7200.
Then again I might have a loose light bulb?
More information about the Newlib