cvs: php-src /ext/date/tests bug37514.phpt
| From: | Hannes Magnusson | Date: | Sun, 07 Jan 2007 07:59:22 +0000 |
| Subject: | cvs: php-src /ext/date/tests bug37514.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-42602@lists.php.net to get a copy of this message | ||
bjori Sun Jan 7 07:59:22 2007 UTC
Modified files:
/php-src/ext/date/tests bug37514.phpt
Log:
Use relative timestamp
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug37514.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/date/tests/bug37514.phpt
diff -u php-src/ext/date/tests/bug37514.phpt:1.4 php-src/ext/date/tests/bug37514.phpt:1.5
--- php-src/ext/date/tests/bug37514.phpt:1.4 Fri Jan 5 15:28:41 2007
+++ php-src/ext/date/tests/bug37514.phpt Sun Jan 7 07:59:22 2007
@@ -4,12 +4,12 @@
date.timezone=UTC
--FILE--
<?php
-echo date('r', strtotime('May 18th 5:05')), "\n";
-echo date('r', strtotime('May 18th 5:05pm')), "\n";
-echo date('r', strtotime('May 18th 5:05 pm')), "\n";
-echo date('r', strtotime('May 18th 5:05am')), "\n";
-echo date('r', strtotime('May 18th 5:05 am')), "\n";
-echo date('r', strtotime('May 18th 2006 5:05pm')), "\n";
+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";
+echo date('r', strtotime('May 18th 5:05am', 1168156376)), "\n";
+echo date('r', strtotime('May 18th 5:05 am', 1168156376)), "\n";
+echo date('r', strtotime('May 18th 2006 5:05pm', 1168156376)), "\n";
?>
--EXPECT--
Fri, 18 May 2007 05:05:00 +0000