Bug#416177: Daylight saving miscomputed

2008-03-31 Thread Paul Martin
On Mon, Mar 31, 2008 at 04:34:19AM +0200, Gergely Peli wrote: > Unfortunately we run logrotate more than once a day, and it was bogus > all day after turning daylight saving on. It seems to be because the > "struct tm" fields are initialized with the current date, time 0:00, but > with the cu

Bug#416177: Daylight saving miscomputed

2008-03-30 Thread Gergely Peli
Unfortunately we run logrotate more than once a day, and it was bogus all day after turning daylight saving on. It seems to be because the "struct tm" fields are initialized with the current date, time 0:00, but with the current time's daylight saving settings. But at 0:00 the tm_isdst was di