PDA

Bekijk de volledige versie : Datetime & DST bug



engy
09-05-2005, 11:09
I found a bug in date function. When I type command line date 050910052005 (MMDDhhmmYYYY 09.05.2005 10:05:00). Date is to "Mon May 9 2005" which is correct, but time is set to "11:05:00". Problem is in not recognized Daylight saving time. /etc/TZ is "MET-1METDST", fw 1.9.2.7-5. Problem is in old uClibc time.c. Why not used latest uCLibc-0.9.27 where the problem is solved?

Oleg
09-05-2005, 11:31
Why not used latest uCLibc-0.9.27 where the problem is solved?
It's not binary compatible, so some tests should be performed before moving to it, as we've several broadcom binaries, which are linked against uclibc. Alternatively, we could patch uclibc 0.9.19, if you've a patch.