ID:               48178
 Updated by:       il...@php.net
 Reported By:      tobias dot john at fondsnet dot de
-Status:           Open
+Status:           Closed
 Bug Type:         Date/time related
 Operating System: *
 PHP Version:      5.3.0RC1


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

[2009-05-07 10:55:45] tobias dot john at fondsnet dot de

Ups sorry. Postet the wrong patch.

This is the correct one.

--- DateTimeZone_getOffset_basic1.phpt.orig     2009-05-07
12:30:07.000000000 +0200
+++ DateTimeZone_getOffset_basic1.phpt  2009-05-07 12:30:53.000000000
+0200
@@ -27,7 +27,7 @@
 ===DONE===
 --EXPECTF--
 *** Testing DateTimeZone::getOffset() : basic functionality ***
-int(0)
+%rint\(0\)|int\(3600\)%r
 %rint\(-18000\)|int\(-14400\)%r
 %rint\(-28800\)|int\(-25200\)%r
 ===DONE===

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

[2009-05-07 10:28:57] tobias dot john at fondsnet dot de

Description:
------------
The Europe/London timezone switched to daylight saving.

See: http://www.convertunits.com/time/zone/Europe/London
The GMT timezone has no daylight saving.

So the offset of the Europe/London timezone ist either 0 or 3600 not
always 0.



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


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

Reply via email to