ID:               45081
 Updated by:       [EMAIL PROTECTED]
 Reported By:      george dot wright at infimatic dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         Date/time related
 Operating System: SUSE 10.2
 PHP Version:      5.2.6
-Assigned To:      
+Assigned To:      derick
 New Comment:

There is an issue here, but the expected result is:
1211472000
1211472000


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

[2008-05-23 15:39:51] george dot wright at infimatic dot com

Description:
------------
Our server is set up for Asia/Singapore time

OS date command prints:   Fri May 23 22:29:19 SGT 2008

Running the following code should produce the same result since the
default timezone is SGT but it doesn't. Updating the timezonedb.so file
to version 2008.2 (the newest available version) did not fix the
problem.

Reproduce code:
---------------
<?php

print strtotime('2008-05-23 00:00:00 SGT');
print "<br>";
print strtotime('2008-05-23 00:00:00');

?>

Expected result:
----------------
1211473800
1211473800


Actual result:
--------------
1211473800
1211472000


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


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

Reply via email to