derick          Tue Jun 28 17:49:36 2005 EDT

  Added files:                 
    /php-src/ext/date/tests     bug14561.phpt bug26090.phpt 

  Modified files:              
    /php-src    NEWS 
  Log:
  - Added testcases for bug #14561 and #26090 and updated NEWS with those
    fixed bug nr's.
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1966&r2=1.1967&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1966 php-src/NEWS:1.1967
--- php-src/NEWS:1.1966 Tue Jun 28 17:37:35 2005
+++ php-src/NEWS        Tue Jun 28 17:49:34 2005
@@ -63,10 +63,10 @@
 - Fixed bug #29896 (Backtrace argument list out of sync). (Dmitry)
 - Fixed bug #29683 (headers_list() returns empty array). (Tony)
 - Fixed bug #28355 (glob wont error if dir is not readable). (Hartmut)
-- Fixed bugs #20382, #28024, #30532, #32086, #32270, #32555, #32588, #33056
-  (strtotime() related bugs). (Derick)
 - Fixed bug #15854 (boolean ini options may be incorrectly displayed as Off 
   when they are On). (Tony)
+- Fixed bugs #14561, #20382, #26090, #26320, #28024, #30532, #32086, #32270,
+  #32555, #32588, #33056 (strtotime() related bugs). (Derick)
 
 10 Jun 2005, PHP 5.1 Beta 1
 - Upgraded PCRE library to version 5.0. (Andrei)

http://cvs.php.net/co.php/php-src/ext/date/tests/bug14561.phpt?r=1.1&p=1
Index: php-src/ext/date/tests/bug14561.phpt
+++ php-src/ext/date/tests/bug14561.phpt
--TEST--
Bug #14561 (strtotime() bug)
--FILE--
<?php
putenv("TZ=GMT");
echo strtotime("19:30 Dec 17"), "\n";
echo strtotime("Dec 17 19:30"), "\n";
?>
--EXPECT--
1134847800
1134847800

http://cvs.php.net/co.php/php-src/ext/date/tests/bug26090.phpt?r=1.1&p=1
Index: php-src/ext/date/tests/bug26090.phpt
+++ php-src/ext/date/tests/bug26090.phpt
--TEST--
Bug #26090 (allow colons in time zone offset to strtotime())
--FILE--
<?php
putenv("TZ=America/New_York");
$t = '2003-10-28 10:20:30-0800';
echo date('Y-m-d H:i:s T', strtotime($t)) . "\n";

$t = '2003-10-28 10:20:30-08:00';
echo date('Y-m-d H:i:s T', strtotime($t)) . "\n";
?>
--EXPECT--
2003-10-28 13:20:30 EST
2003-10-28 13:20:30 EST

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

Reply via email to