Koozali.org: home of the SME Server

Daylight Savings change dates for New Zealand

Offline axessit

  • *****
  • 213
  • +0/-0
Daylight Savings change dates for New Zealand
« on: September 26, 2007, 04:44:35 PM »
This weekend NZ will change it's daylight savings from the previous standard of being the first sunday in October and reverting back in March to starting the 5th sunday in September and reverting back the first sunday in April.

Where can I change the changeover dates in SME ? i can use "zdump -v NZ | grep 2007" and it tells me the wrong changeover dates.

NZ  Sat Mar 17 13:59:59 2007 UTC = Sun Mar 18 02:59:59 2007 NZDT isdst=1 gmtoff=46800
NZ  Sat Mar 17 14:00:00 2007 UTC = Sun Mar 18 02:00:00 2007 NZST isdst=0 gmtoff=43200
NZ  Sat Oct  6 13:59:59 2007 UTC = Sun Oct  7 01:59:59 2007 NZST isdst=0 gmtoff=43200
NZ  Sat Oct  6 14:00:00 2007 UTC = Sun Oct  7 03:00:00 2007 NZDT isdst=1 gmtoff=46800

whereas it should be Sun Sept 30 ..... etc.

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Daylight Savings change dates for New Zealand
« Reply #1 on: September 26, 2007, 07:21:41 PM »
This must happen with regular updates as all of my SME 7.2 systems show:
Code: [Select]
# zdump -v NZ |grep 2007
NZ  Sat Mar 17 13:59:59 2007 UTC = Sun Mar 18 02:59:59 2007 NZDT isdst=1 gmtoff=46800
NZ  Sat Mar 17 14:00:00 2007 UTC = Sun Mar 18 02:00:00 2007 NZST isdst=0 gmtoff=43200
NZ  Sat Sep 29 13:59:59 2007 UTC = Sun Sep 30 01:59:59 2007 NZST isdst=0 gmtoff=43200
NZ  Sat Sep 29 14:00:00 2007 UTC = Sun Sep 30 03:00:00 2007 NZDT isdst=1 gmtoff=46800

/var/log/yum/yum.log shows that I downloaded the latest version of 'tzdata' on July 24:
Jul 24 12:38:18 Updated: tzdata.noarch 2007f-1.el4

If you're avoiding yum updates for some other reason, perhaps you only need to update tzdata itself using yum update tzdata

On the other hand, if SME is relying on the CentOS repositories for this file, you won't get this update until you have reset your yum repository configuration as described here: http://wiki.contribs.org/Updating_to_SME_7.2#Ensuring_the_correct_yum_repository_configuration