summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2006-06-17 10:30:23 +0000
committerNuno Lopes <nlopess@php.net>2006-06-17 10:30:23 +0000
commitaa4881437863af5a800b6b3a31fbb2db261c670e (patch)
tree4d8ed783d999b37a9c3bb3c3516f2e0eab8a227d /ext/date
parentca6e1bbcdad89ee56623038dcdf3664599535e39 (diff)
downloadphp-git-aa4881437863af5a800b6b3a31fbb2db261c670e.tar.gz
change the timezone used (per Derick request)
add one string I missed yesterday. Now every strotime() rule is covered
Diffstat (limited to 'ext/date')
-rw-r--r--ext/date/tests/strtotime3.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/date/tests/strtotime3.phpt b/ext/date/tests/strtotime3.phpt
index 9a59ed2c30..c5d13d8a6f 100644
--- a/ext/date/tests/strtotime3.phpt
+++ b/ext/date/tests/strtotime3.phpt
@@ -2,7 +2,7 @@
strtotime() function
--FILE--
<?php
-date_default_timezone_set('Portugal');
+date_default_timezone_set('Europe/Lisbon');
$time = 1150494719; // 16/June/2006
$strs = array(
@@ -27,6 +27,7 @@ $strs = array(
'10/Oct/2000:13:55:36 +0100', //clf
'10/Oct/2000:13:55:36 +00100', //clf
'2006',
+ '1986', // year
'JAN',
'January',
);
@@ -63,5 +64,6 @@ string(31) "Sun, 15 Jan 2006 00:00:00 +0000"
string(31) "Tue, 10 Oct 2000 13:55:36 +0100"
bool(false)
string(31) "Fri, 16 Jun 2006 20:06:00 +0100"
+string(31) "Mon, 16 Jun 1986 22:51:59 +0100"
string(31) "Mon, 16 Jan 2006 00:00:00 +0000"
string(31) "Mon, 16 Jan 2006 00:00:00 +0000"