That's odd. In my system I have: == /etc/sysconfig/clock == ZONE="America/Sao_Paulo" UTC=true
My /etc/localtime is a link to /usr/share/zoneinfo/America/Sao_Paulo According to zdump, that timezone file is ok with DST - it will start in here next Sunday. However, all the things with time shown in sipxconfig, already shows as if in DST. # zdump /etc/localtime -v|grep 2008 /etc/localtime Sun Feb 17 01:59:59 2008 UTC = Sat Feb 16 23:59:59 2008 BRST isdst=1 gmtoff=-7200 /etc/localtime Sun Feb 17 02:00:00 2008 UTC = Sat Feb 16 23:00:00 2008 BRT isdst=0 gmtoff=-10800 /etc/localtime Sun Oct 19 02:59:59 2008 UTC = Sat Oct 18 23:59:59 2008 BRT isdst=0 gmtoff=-10800 /etc/localtime Sun Oct 19 03:00:00 2008 UTC = Sun Oct 19 01:00:00 2008 BRST isdst=1 gmtoff=-7200 It's a FC8 with 3.11.4 - need to check which rev On the other hand, I have another box with FC7 running 3.10.2 with ZONE="Brazil/East" That Zone is wrong one week earlier, about the DST: # zdump /usr/share/zoneinfo/Brazil/East -v|grep 2008 /etc/localtime Sun Feb 17 01:59:59 2008 UTC = Sat Feb 16 23:59:59 2008 BRST isdst=1 gmtoff=-7200 /etc/localtime Sun Feb 17 02:00:00 2008 UTC = Sat Feb 16 23:00:00 2008 BRT isdst=0 gmtoff=-10800 /etc/localtime Sun Oct 12 02:59:59 2008 UTC = Sat Oct 11 23:59:59 2008 BRT isdst=0 gmtoff=-10800 /etc/localtime Sun Oct 12 03:00:00 2008 UTC = Sun Oct 12 01:00:00 2008 BRST isdst=1 gmtoff=-7200 While the sipxconfig show me the times correctly. I'll do some more researching and let you guys know the results. []'s MM On Mon, Oct 13, 2008 at 7:45 PM, Tony Graziano <[EMAIL PROTECTED]> wrote: >>>> "Andy Spitzer" <[EMAIL PROTECTED]> 09/03/08 03:44PM >>> > Woof! > > Executive summary: > > /etc/sysconfig/clock is set INCORRECTLY by the Fedora GUI > system-config-date program. > > It sets the file thusly: > > ZONE="America/New York" > > When it should be: > > ZONE="America/New_York" > > (There is an underscore in the correct version). > > > Long and boring tech details, all derived from strace and experiment: > > It TZ is set, it uses that. > > If not, it tries to get ZONE from /etc/sysconfig/clock > > If the ZONE is set incorrectly, then Java falls back to trying to parse > > /etc/localtime, but it seems to not understand the daylight savings flag > > in that case. > > So when I used system-config-date to set my NTP servers to "Nortel > Standard" as they block the others (ain't corporate life grand?), it > munged /etc/sysconfig/clock AND it overwrote /etc/localtime (which was a > > hard link at the time, which ended up munging the original > /usr/local/share/posixrules file it was linked to. > > Moral: > Always use the command line! > > --Woof! > >>>> "Melcon Moraes" <[EMAIL PROTECTED]> 10/13/08 18:22 PM >>> > Did you guys find anything new on that? > > Is this somehow related to the issue? > > http://java.sun.com/javase/timezones/tzdata_versions.html > > > []'s > MM > > On Wed, Sep 3, 2008 at 2:49 PM, Andy Spitzer <[EMAIL PROTECTED]> wrote: >> Woof! >> >> On Wed, 03 Sep 2008 10:26:55 -0400, Damian Krzeminski > <[EMAIL PROTECTED]> >> wrote: >>> I think it can happen when JVM has a different opinion on if you are > in >>> DST >>> or not ;-) >>> It's usually not just sipXconfig but any Java application that is >>> affected. >>> I wrote a small tester once (attached). >>> Try this: >>> >>> java Time >>> >>> And compare the output to /etc/sysconfig/clock and date output. >> >> Very odd. With /etc/localtime pointing to >> /usr/share/zoneinfo/America/Los_Angeles: >> $ date -u; date; java Time >> Wed Sep 3 17:44:10 UTC 2008 >> Wed Sep 3 10:44:10 PDT 2008 >> September 3, 2008 9:44:10 AM GMT-08:00 >> Time zone:GMT-08:00 GMT-08:00 >> In DST:false >> Uses DST:false >> DST offset:0 >> >> With /etc/localtime pointing to /usr/share/zoneinfo/America/New_York: >> date -u; date; java Time >> Wed Sep 3 17:45:06 UTC 2008 >> Wed Sep 3 13:45:06 EDT 2008 >> September 3, 2008 12:45:06 PM GMT-05:00 >> Time zone:GMT-05:00 GMT-05:00 >> In DST:false >> Uses DST:false >> DST offset:0 >> >> So java "knows" about the GMT offset, but not daylight savings. >> >> With TZ set: >> >> TZ="America/New_York" java Time >> September 3, 2008 1:46:29 PM EDT >> Time zone:Eastern Standard Time America/New_York >> In DST:true >> Uses DST:true >> DST offset:3600000 >> >> It knows about both. >> >> --Woof! >> _______________________________________________ >> sipx-dev mailing list >> [email protected] >> List Archive: http://list.sipfoundry.org/archive/sipx-dev >> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev >> > > _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
