note 63730 deleted from function.date-default-timezone-set by nlopess
| From: | nlopess@php.net | Date: | Fri, 08 Sep 2006 14:23:29 +0000 |
| Subject: | note 63730 deleted from function.date-default-timezone-set by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-116907@lists.php.net to get a copy of this message | ||
Note Submitter: mira at st dot jyu dot fi
----
The Etc/GMT+2, Etc/GMT-5 etc. timezones are incorrectly labeled on systems that use GNU glibc. All
the timezone labels starting with "Etc/" have plus and minus characters reversed. That is,
if you want time for GMT+4 you have to set the timezone to "Etc/GMT-4". This is because
(old) POSIX standard has them this way! The official party line seems to be DO NOT USE Etc/*
TIMEZONES. It's not a bug, it's a compability feature!