#34147 [Sus->Csd]: Timezone problem

From: Date: Mon, 02 Jan 2006 07:55:48 +0000
Subject: #34147 [Sus->Csd]: Timezone problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-91336@lists.php.net to get a copy of this message
ID: 34147 Updated by: sniper@php.net Reported By: joerg dot klein at ifsam dot lu -Status: Suspended +Status: Closed Bug Type: Date/time related Operating System: win2000 PHP Version: 5.1.0b3 New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-09-13 04:02:11] studio at peptolab dot com Derick - we're AUSTRALIA/Melbourne ;) BTW, we don't use EST, we're on AEST I did manually set the propert in php.ini and it works fine - it's just good to flag this for first-time users so they don't get a shock when they're testing the upgrade. ------------------------------------------------------------------------ [2005-08-30 09:16:48] derick@php.net @studio at peptolab dot com: That's because the timezone abbreviations are ambigious. EST is both America/New_York and Australia/Melbourne. The magic method only sees the EST, so it needs to make an assumption. Set the config param in php.ini to "America/Melbourne" and all will be well. ------------------------------------------------------------------------ [2005-08-28 13:58:39] studio at peptolab dot com I'm getting the same behaviour in RH FC4 - I created an RPM of 5.1.0RC1 and installed that - despite being in the Australia/ Melbourne timezone, I'm automatically assumed to be America/ New_York by PHP. It seems the 'magic' method isn't correctly picking up my OS settings. ------------------------------------------------------------------------ [2005-08-19 12:54:56] derick@php.net @pash_ka at fonbet dot info: What should we set it to by default? ------------------------------------------------------------------------ [2005-08-18 15:58:37] pash_ka at fonbet dot info Please, add "date.timezone" setting to php.ini-dist and php.ini-recomended in Windows distribution, since it's very important to all peoples performing updates to PHP 5.1 not to forget set this value properly. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34147 -- Edit this bug report at http://bugs.php.net/?id=34147&edit=1

« previous php.bugs (#91336) next »