summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug37514.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/tests/bug37514.phpt')
-rw-r--r--ext/date/tests/bug37514.phpt3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/date/tests/bug37514.phpt b/ext/date/tests/bug37514.phpt
index abbb4407c8..fbde5e2f5d 100644
--- a/ext/date/tests/bug37514.phpt
+++ b/ext/date/tests/bug37514.phpt
@@ -1,9 +1,8 @@
--TEST--
Bug #37514 (strtotime doesn't assume year correctly).
---INI--
-date.timezone=UTC
--FILE--
<?php
+date_default_timezone_set('UTC');
echo date('r', strtotime('May 18th 5:05', 1168156376)), "\n";
echo date('r', strtotime('May 18th 5:05pm', 1168156376)), "\n";
echo date('r', strtotime('May 18th 5:05 pm', 1168156376)), "\n";