[En-Nut-Discussion] daylight saving

ml mludwig at adc-elektronik.de
Mon Dec 22 17:21:48 CET 2008


Hi,

playing around with the time/date functions i see that the dst end´s at 2
o`clock in october.
for germany it should be 3.  I changed it for my needs now. But i think it
isn´t good if such
constants are defined in the code. May it be better to make it configurable
?

from tzset.c

        cvtdate(0, 1, tb->tm_year, 10,  /* October */
                5,              /* last... */
                0,              /* ...Sunday */
                0, 3,           /* 03:00 (3 AM) */ // ML 12.2008 Europe
                0, 0, 0);


Martin 
-- 
View this message in context: http://www.nabble.com/daylight-saving-tp21130492p21130492.html
Sent from the MicroControllers - Ethernut mailing list archive at Nabble.com.




More information about the En-Nut-Discussion mailing list