]> granicus.if.org Git - php/commitdiff
- Fix test.
authorDerick Rethans <derick@php.net>
Wed, 24 Aug 2005 14:17:58 +0000 (14:17 +0000)
committerDerick Rethans <derick@php.net>
Wed, 24 Aug 2005 14:17:58 +0000 (14:17 +0000)
ext/date/tests/bug34087.phpt

index 3736afa3753cffd0e28c12b15aa10a2087dc7cbe..a54d5fd6fd5da1d3a396136603c5319dfc85087b 100644 (file)
@@ -2,6 +2,7 @@
 Bug #34087 (strtotime() does not work with date format "Y/m/d")
 --FILE--
 <?php
+date_default_timezone_set("UTC");
 echo "Y/m/d: ", strtotime("2005/8/12"), "\n";
 echo "Y-m-d: ", strtotime("2005-8-12");
 ?>