diff options
DST fix: daylength v. DAYINSEC
The number of seconds in a day and daylength in seconds differ when
Daylight Saving Time is in effect on two days of the year. The day when DST
takes effect is 23 hours long, and the day when DST ends is 25 hours long.
In the latter case the date changing thread wóuld enter a loop in the last hour
before midnight (in the former it would set the date an hour too late).
The next midnight is calculated through mktime(), invoked by date2sec().
Wrong daylength prevented appointments from being stored in the day vector and
caused them to be displayed wrongly in the appts panel.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'test%25252525252525253fid%25252525252525253d3f267d0473b1e34c858edac334e17bf48c0c407d%252525252525253fid%252525252525253d3f267d0473b1e34c858edac334e17bf48c0c407d&id2%252525252525253de3ca60eefe08b253ff436fe16d85b4317c7a2523%2525252525253fid%2525252525253d3f267d0473b1e34c858edac334e17bf48c0c407d%25252525253fid%25252525253d3f267d0473b1e34c858edac334e17bf48c0c407d%252525253fid%252525253de3ca60eefe08b253ff436fe16d85b4317c7a2523%2525253fid%2525253de3ca60eefe08b253ff436fe16d85b4317c7a2523%25253fid%25253de3ca60eefe08b253ff436fe16d85b4317c7a2523&id2%25253de6cffdc6bd58e0ddefbb0b21e8bbe841963bce48%253fid%253de3ca60eefe08b253ff436fe16d85b4317c7a2523%3fid%3de3ca60eefe08b253ff436fe16d85b4317c7a2523?id=e6cffdc6bd58e0ddefbb0b21e8bbe841963bce48')
0 files changed, 0 insertions, 0 deletions