nlopess         Sun Jan 27 17:02:01 2008 UTC

  Modified files:              
    /php-src/ext/date/tests     bug43003.phpt 
  Log:
  fix test
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug43003.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/date/tests/bug43003.phpt
diff -u php-src/ext/date/tests/bug43003.phpt:1.1 
php-src/ext/date/tests/bug43003.phpt:1.2
--- php-src/ext/date/tests/bug43003.phpt:1.1    Thu Jan 17 19:58:24 2008
+++ php-src/ext/date/tests/bug43003.phpt        Sun Jan 27 17:02:01 2008
@@ -2,6 +2,8 @@
 Bug #43003 (Invalid timezone reported for DateTime objects constructed using a 
timestamp)
 --FILE--
 <?php
+date_default_timezone_set('Europe/Oslo');
+
 $oDateTest = new DateTime("@0", new DateTimeZone(date_default_timezone_get()));
 echo $oDateTest->getTimezone()->getName().": " .  $oDateTest->format("Y-m-d 
H:i:s")."\n";
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to