[PHP-CVS] cvs: php-src /ext/date/tests bug28024.phpt
by Derick Rethans other posts by this author
Jun 18 2005 12:39PM messages near this date
[PHP-CVS] cvs: php-src / NEWS /ext/date TODO
|
[PHP-CVS] cvs: php-src /ext/date/lib parse_tz.c timelib_structs.h tm2unixtime.c
derick Sat Jun 18 15:39:19 2005 EDT
Added files:
/php-src/ext/date/tests bug28024.phpt
Log:
- Added testcase for bug #28024.
http://cvs.php.net/co.php/php-src/ext/date/tests/bug28024.phpt?r=1.1&p=1
Index: php-src/ext/date/tests/bug28024.phpt
+++ php-src/ext/date/tests/bug28024.phpt
--TEST--
Bug #28024 (Changed behavior of strtotime())
--FILE--
<?php
putenv("TZ=Europe/Berlin");
echo strtotime("17:00 2004-01-01"), "\n";
echo date("Y-m-d H:i:s T", strtotime("17:00 2004-01-01"));
?>
--EXPECT--
1072972800
2004-01-01 17:00:00 CET
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|