![]() |
sponsored links |
|
|
sponsored links
|
|
1
28th April 06:05
External User
Posts: 1
|
ID: 35425
Updated by: iliaa@php.net Reported By: tomas_matousek at hotmail dot com -Status: Assigned +Status: Closed Bug Type: Date/time related Operating System: WinXP PHP Version: 5.1.0 Assigned To: derick 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-11-27 16:28:45] tony2001@php.net Assigned to the author. Can't reproduce it on Linux, though. ------------------------------------------------------------------------ [2005-11-27 16:22:52] tomas_matousek at hotmail dot com Description: ------------ idate('Z') doesn't reflect zone settings by date_default_timezone_set(). That's wrong, isn't it? Reproduce code: --------------- date_default_timezone_set("UTC"); $time = mktime(1,1,1,1,1,2005); echo idate('Z', $time); Expected result: ---------------- 0 Actual result: -------------- 3600 // my system setting is +1 GMT ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35425&edit=1 |
|
|