Re: Think I found a PHP bug

From: Date: Wed, 16 Nov 2011 16:30:35 +0000
Subject: Re: Think I found a PHP bug
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-315718@lists.php.net to get a copy of this message
On Wed, 15 Nov 2011, Tim Streater wrote:
I find I need to do this: date_default_timezone_set (@date_default_timezone_get ()); in all my scripts since 5.x.x to avoid rude messages.
Apart from the fact that I've not seen the rude messages of which you speak, even though I expected to, this won't help in this case. date_default_timezone_get() is returning the wrong timezone. Geoff.

« previous php.general (#315718) next »