ID: 34385 Updated by: [EMAIL PROTECTED] Reported By: david at tulloh dot id dot au -Status: Open +Status: Assigned Bug Type: Date/time related Operating System: Linux PHP Version: 5.1.0RC1 -Assigned To: +Assigned To: derick New Comment:
Assigning to me, but not sure if we're going to change that. In your case it is actually good that it did this, as it shows that it incorrectly guessed "America/New_York", which uses the same abbreviation (EST) as Eastern Australia. So fix your setting :) Previous Comments: ------------------------------------------------------------------------ [2005-09-06 05:41:35] david at tulloh dot id dot au Description: ------------ phpinfo throws a E_STRICT error. This is caused by PHP guessing at the timezone. I'm not sure that the error message belongs in the middle of the phpinfo output. Reproduce code: --------------- php -a -n <?php error_reporting(E_STRICT); phpinfo(INFO_MODULES); ?> Expected result: ---------------- phpinfo() should not throw errors, E_STRICT included. Actual result: -------------- (CLI output, similar results through apache module) ... date date/time support => enabled Strict Standards: phpinfo() [/phpmanual/function.phpinfo.html]: It is not safe to rely on the systems timezone settings, please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. We use 'America/New_York' for 'EST' instead. in /home/lod/Downloads/php-5.1.0RC1/- on line 2 Default timezone => America/New_York ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34385&edit=1
