ID:               39050
 Updated by:       [EMAIL PROTECTED]
 Reported By:      duerra_NOT_THIS_ at pushitlive dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         Date/time related
 Operating System: Linux
 PHP Version:      5.1.6
 New Comment:

No, those are correct. However, you should not even be using those -
they only exist in the timezone database for backward compatible
reasons. Pick one of the Continent/City combinations.


Previous Comments:
------------------------------------------------------------------------

[2006-10-05 14:28:38] duerra_NOT_THIS_ at pushitlive dot net

Description:
------------
When using Etc/GMT related values with date_default_timezone_set(), the
values are backwards of what they should be.  

Reproduce code:
---------------
<?php
date_default_timezone_set('Etc/GMT');
echo date('H:i').'<br />';
date_default_timezone_set('Etc/GMT-1');
echo date('H:i');
?>

Expected result:
----------------
14:27
13:27

Actual result:
--------------
14:27
15:27


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39050&edit=1

Reply via email to