summaryrefslogtreecommitdiff
path: root/ext/date/tests/date_modify-2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/tests/date_modify-2.phpt')
-rw-r--r--ext/date/tests/date_modify-2.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/tests/date_modify-2.phpt b/ext/date/tests/date_modify-2.phpt
index 9bf7a5d2d..cc197fcdc 100644
--- a/ext/date/tests/date_modify-2.phpt
+++ b/ext/date/tests/date_modify-2.phpt
@@ -6,9 +6,9 @@ date_modify() function [2]
<?php
date_default_timezone_set("GMT");
$d = date_create("2005-07-18 22:10:00 +0400");
-echo date_format($d, date::RFC822), "\n";
+echo date_format($d, 'D, d M Y H:i:s T'), "\n";
date_modify($d, "+1 hour");
-echo date_format($d, date::RFC822), "\n";
+echo date_format($d, 'D, d M Y H:i:s T'), "\n";
?>
--EXPECT--
Mon, 18 Jul 2005 22:10:00 GMT+0400