You are here: Re: Daylight Savings Time, PHP/Mandrake Linux, March 2007. Options? « PHP Programming Language « IT news, forums, messages
Re: Daylight Savings Time, PHP/Mandrake Linux, March 2007. Options?

Posted by Snowbat on 02/16/07 16:14

On Fri, 16 Feb 2007 03:51:32 -0800, sugapablo wrote:

> I have an old machine running Mandrake 9.2 and PHP 4.3.1 hosting
> several websites.
>
> With the coming changes to daylight savings time in March 2007, what
> are my options in correcting the current calculation on this machine?
>
> Ideal option: RPM patch.
>
> Worst option: upgrade OS (it's a very old machine).

Hey, my LAN server still runs Mandrake 9.1. I tried 2005LE on it but the
kernel doesn't like my hardware. I'll try an Ubuntu install one of these
days.

I presume your problem relates to this:
"The passage of the US Energy Policy Act of 2005 alters the Daylight
Saving Time (DST) start and end dates by four weeks. Several countries
(Canada, Bermuda) are also implementing the same DST change; other
countries may decide to make similar changes to DST rules. Beginning in
2007, DST start and end dates will be:

* Start date: Second Sunday of March (March 11)
* End date: First Sunday of November (November 4)"

urpmi timezone
The timezone package comes with a utility called zic, the time zone
compiler. Prepare a suitable text file in the correct format, process it
through zic, move the output to a location in /usr/share/zoneinfo/ and
then create a symlink at /etc/localtime that points to it.

Brazilian users need to do this every year as the DST change dates do not
follow a set pattern - they pick the dates every year.
http://www.alkalay.net/software/zoneinfo/Brazil.txt
^ Avi hasn't updated this for 2007 yet




--


--
Posted via a free Usenet account from http://www.teranews.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация