[uClibc 0001263]: Daylight Saving Time (DST) doesn't end at the correct time for the US
bugs at busybox.net
bugs at busybox.net
Thu May 10 14:50:16 UTC 2007
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1263
======================================================================
Reported By: mikevoyt
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 1263
Category: Standards Compliance
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 03-07-2007 11:55 PST
Last Modified: 05-10-2007 07:50 PDT
======================================================================
Summary: Daylight Saving Time (DST) doesn't end at the
correct time for the US
Description:
There are new rules in 2007 for Daylight Saving Time.
Daylight Saving Time for 2007 beings at 2AM on 3/11, and ends at 2AM on
11/4.
uClibc will start DST at the correct date/time; but it will not end at the
correct time.
The following test case illustrates the bug:
# date -u -s 031109592007 ; date ; sleep 70 ; date
Sun Mar 11 09:59:00 UTC 2007
Sun Mar 11 01:59:00 PST 2007
Sun Mar 11 03:00:10 PDT 2007 <---- GOOD: jumps an hour ahead
# date -u -s 110409592007 ; date ; sleep 70 ; date
Sun Nov 4 09:59:00 UTC 2007
Sun Nov 4 01:59:00 PST 2007
Sun Nov 4 02:00:10 PST 2007 <----- BAD: it should be 1:00:10 !!!
======================================================================
----------------------------------------------------------------------
lubek - 05-10-07 07:50
----------------------------------------------------------------------
Interestingly, the error occurs only when setting the date with -u:
export TZ="PST8PDT"; date -s 110401592007; date; sleep 70; date
Sun Nov 4 01:59:00 PDT 2007
Sun Nov 4 01:59:00 PDT 2007
Sun Nov 4 01:00:10 PST 2007
The short TZ form was used to show that the new rules are in effect.
Issue History
Date Modified Username Field Change
======================================================================
03-07-07 11:55 mikevoyt New Issue
03-07-07 11:55 mikevoyt Status new => assigned
03-07-07 11:55 mikevoyt Assigned To => uClibc
05-10-07 07:50 lubek Note Added: 0002353
======================================================================
More information about the uClibc-cvs
mailing list