[Bug 4976] Daylight saving time calculation fails when M-specifier is larger than number of weeks in the month

bugzilla at busybox.net bugzilla at busybox.net
Thu Mar 29 21:54:55 UTC 2012


https://bugs.busybox.net/show_bug.cgi?id=4976

--- Comment #1 from A.Mazur <deweloper at wp.pl> 2012-03-29 21:54:55 UTC ---
I observe the same issue with uclibc 0.9.30.1.
It seems that due to some bug it expects that in March 2012 there will be at
least an extra sunday (32th?)

# TZ=CET-1CEST-2,M3.5.0/2,M10.5.0/3 date -d '2012-03-30 12:00'
Fri Mar 30 12:00:00 CET 2012
# TZ=CET-1CEST-2,M3.5.0/2,M10.5.0/3 date -d '2012-03-31 12:00'
Sat Mar 31 12:00:00 CET 2012
# TZ=CET-1CEST-2,M3.5.0/2,M10.5.0/3 date -d '2012-03-32 12:00'
Sun Apr  1 12:00:00 CEST 2012
# TZ=CET-1CEST-2,M3.5.0/2,M10.5.0/3 date -d '2012-04-01 12:00'
Sun Apr  1 12:00:00 CEST 2012

CEST begins on last sunday of March. There were 4 sundays in March, the last
was on the 25th.

I didn't find any timezone-related fixes in the change logs since 0.9.30.1.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list