bjori           Sun Jan  7 07:58:28 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/date/tests     bug37514.phpt 
  Log:
  Use relative timestamp
  #Thanks Nuno :)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug37514.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/date/tests/bug37514.phpt
diff -u php-src/ext/date/tests/bug37514.phpt:1.1.2.3 
php-src/ext/date/tests/bug37514.phpt:1.1.2.4
--- php-src/ext/date/tests/bug37514.phpt:1.1.2.3        Fri Jan  5 15:21:45 2007
+++ php-src/ext/date/tests/bug37514.phpt        Sun Jan  7 07:58:28 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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to