summaryrefslogtreecommitdiff
path: root/ext/date/tests/date_modify-1.phpt
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2019-01-07 12:48:42 +0000
committerDerick Rethans <github@derickrethans.nl>2019-01-07 12:48:42 +0000
commitbd1d2c7bfefe4b173c9a7628ecc4dead72775a14 (patch)
treed53a33a40d8f6f1765442237c46cd27128e7ccde /ext/date/tests/date_modify-1.phpt
parent81da7f75e36537ecc8cdf7ce6f5e992b177685bc (diff)
downloadphp-git-bd1d2c7bfefe4b173c9a7628ecc4dead72775a14.tar.gz
Update tests due to data changes in tzdata 2018i
Diffstat (limited to 'ext/date/tests/date_modify-1.phpt')
-rw-r--r--ext/date/tests/date_modify-1.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/tests/date_modify-1.phpt b/ext/date/tests/date_modify-1.phpt
index c35e430df7..079fa35f7f 100644
--- a/ext/date/tests/date_modify-1.phpt
+++ b/ext/date/tests/date_modify-1.phpt
@@ -5,7 +5,7 @@ date_modify() function [1]
--FILE--
<?php
date_default_timezone_set("Pacific/Kwajalein");
-$ts = date_create("Thu Aug 19 1993 23:59:59");
+$ts = date_create("Fri Aug 20 1993 23:59:59");
echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
$ts->modify("+1 second");
echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
@@ -22,8 +22,8 @@ $ts->modify("+ 1 hour 1 second");
echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
?>
--EXPECT--
-Thu, 19 Aug 1993 23:59:59 -12
-Sat, 21 Aug 1993 00:00:00 +12
+Fri, 20 Aug 1993 23:59:59 -12
+Sun, 22 Aug 1993 00:00:00 +12
Sun, 27 Mar 2005 01:59:59 CET
Sun, 27 Mar 2005 03:00:00 CEST
Sun, 30 Oct 2005 01:59:59 CEST