Brion Vibber wrote:
Domas Mituzas wrote:
Just professional curiosity, how would you define when daylight saving time is enabled/disabled? There're different rules for different countries. And some countries don't have it at all :-(
Presumably the same way the computer does it; provide a location such as 'Europe/Berlin' or 'America/Los_Angeles' and let the C library look in its big list of locales.
Oh, goody, more things for you devs to keep in sync when a country arbitrarilty decides to massively redefine the period over which Summer Time is set. Not that any country would ever do that. :-)
Yours sincerely, -- James D. Forrester Wikimedia : [[W:en:User:Jdforrester|James F.]] E-Mail : james@jdforrester.org IM (MSN) : jamesdforrester@hotmail.com