Daylight Saving patch for New Zealand

Discussion in 'NZ Computing' started by David Empson, Sep 27, 2007.

  1. David Empson

    David Empson Guest

    New Zealand is changing its daylight saving rules from Sunday 30th
    September (starting a week earlier, and finishing two or three weeks
    later, next March).

    Apple haven't done anything about supplying a patch for Mac OS X, so a
    friend of mine wrote his own one, which requires Mac OS X 10.4.9 or
    10.4.10. He's also done a version for 10.3.9, and has a program which
    can manually edit the daylight saving rules for Mac OS 9. (There is no
    solution that I know of for 10.0 through 10.2.8.)

    I've written a detailed article about the problem on my user group's web
    site:

    http://www.welmac.org.nz/nzdst2007.php

    The patch can be downloaded here:

    http://www.mactcp.org.nz/nzdt.html

    --
    David Empson
    David Empson, Sep 27, 2007
    #1
    1. Advertising

  2. David Empson

    David Empson Guest

    Lawrence D'Oliveiro <_zealand> wrote:

    > In message <1i53n40.z2rjflxidmqjN%>, David Empson
    > wrote:
    >
    > > Apple haven't done anything about supplying a patch for Mac OS X, so a
    > > friend of mine wrote his own one, which requires Mac OS X 10.4.9 or
    > > 10.4.10. He's also done a version for 10.3.9...

    >
    > Doesn't OS X use the standard /usr/share/zoneinfo files like other *nix
    > systems?


    Not entirely. It does use zoneinfo for anything which uses POSIX
    standards or the standard C library calls such as localtime(). This
    includes almost all of the BSD or GPL open source sofware included with
    Mac OS X.

    Mac OS X also uses IBM's ICU mechanism (a database with Unicode and
    country-specfic information), which includes another copy of the time
    zone tables. This database is installed in a standard location and used
    by the CoreFoundation framework, which is in turn used by most GUI
    applications which are aware of time zones. The main example is iCal,
    which is the standard calendar application on Mac OS X.

    This means that to update Mac OS X for daylight saving rule changes, it
    is necessary to patch both the zoneinfo files and the global ICU data
    files. If you patch one and not the other, some applications (including
    iCal) get very confused because they are using both the CoreFoundation
    calls and the C standard library calls. Observed symptoms include iCal
    thinking that October 2007 is also called September.

    Apple did a patch which updated all the global rules in February 2007
    (including the US changes for March), but they haven't done one since
    then, and two system updates later they still have the February rules.

    The New Zealand rule change was officially announced in April or May, so
    Apple has been tardy in getting its time zone rules back in sync. They
    will probably have updated rules in 10.4.11 and 10.5, but neither of
    those will be available before September 30th, so an unpatched Mac will
    think New Zealand is an hour earlier for a week.

    The patch I referenced only covers these two parts of the system
    (zoneinfo and global ICU). It doesn't update Java (which has its own
    copy of the timezone rules), or anything else which has its own rules
    (WebObjects is another example). Other open source or cross-platform
    software might include its own copy of the ICU database (or the timezone
    rules in some other form). I don't know of any other specific examples.

    --
    David Empson
    David Empson, Sep 27, 2007
    #2
    1. Advertising

  3. David Empson

    David Empson Guest

    Jonathan Walker <> wrote:

    > On Thu, 27 Sep 2007 12:44:30 +1200, David Empson wrote:
    >
    > > Apple haven't done anything about supplying a patch for Mac OS X, so a
    > > friend of mine wrote his own one, which requires Mac OS X 10.4.9 or
    > > 10.4.10. He's also done a version for 10.3.9, and has a program which
    > > can manually edit the daylight saving rules for Mac OS 9. (There is no
    > > solution that I know of for 10.0 through 10.2.8.)

    >
    > What about the solution of simply restarting that PC and manually changing
    > the time in the BIOS, or Apple equivalent?


    Not a good idea.

    If you set the clock manually ahead by an hour, it will result in the
    entire world appearing to be an hour ahead. If you do anything involving
    overseas communication, you will have to remember that your computer is
    showing times for other countries that are out by an hour.

    It will also affect things like timestamps on e-mail, resulting in
    sorting errors when sorting by date (both mail you send and mail you
    receive).

    If you later install a patch to fix the daylight saving rules (either
    official or unofficial) then any files saved during that week you had
    the clock set ahead will move an extra hour ahead, which might stuff up
    things like backups.


    --
    David Empson
    David Empson, Sep 27, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike

    Patch for Daylight Savers Time

    Mike, Mar 7, 2007, in forum: Computer Support
    Replies:
    19
    Views:
    632
    Frosty
    Mar 12, 2007
  2. Rob J

    Nokia PC Sync daylight saving problem

    Rob J, Feb 6, 2006, in forum: NZ Computing
    Replies:
    2
    Views:
    398
    Peter S
    Feb 7, 2006
  3. Matty F
    Replies:
    25
    Views:
    645
    Lawrence D'Oliveiro
    Nov 3, 2006
  4. Giuen
    Replies:
    0
    Views:
    666
    Giuen
    Sep 12, 2008
  5. Donchano

    NZ daylight savings patch for WXPpro?

    Donchano, Apr 3, 2011, in forum: NZ Computing
    Replies:
    5
    Views:
    545
    Mgsr. Scooter
    Apr 3, 2011
Loading...

Share This Page