ID:               48178
 Comment by:       tobias dot john at fondsnet dot de
 Reported By:      tobias dot john at fondsnet dot de
 Status:           Open
 Bug Type:         Date/time related
 Operating System: All
 PHP Version:      5.3.0RC1
 New Comment:

Here is a patch.

--- 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===


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

[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