Re: date() and wrong timezone (or time)
| From: | Martin Marques | Date: | Wed, 06 Feb 2008 17:48:19 +0000 |
| Subject: | Re: date() and wrong timezone (or time) | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268797@lists.php.net to get a copy of this message | ||
Nathan Nobbe escribió:
On Feb 6, 2008 12:13 PM, Martin Marques <martin@marquesminen.com.ar> wrote:It has the right TZ set. I checked it with date_default_timezone_get(). I changed the system wide TZ to a zone that has the -2 TZ and it works now, but it's a lousy solutionthen you should probly set it ;)see what you have as the value for the date.timezone ini setting.I've already checked that, and it's not set.
Anyway, I found out that PHP uses an internal tz database (very badHow about use the tzdata that is already installed is the system?IMHO) and it might be out of date.what is a better alternative in your opinion; i dont know much about any alternatives..