php-src/ext/date/tests/bug28088.phpt
Derick Rethans 60d195dc44 Sorting out the tests *once* more.
Please keep them consistent and only change them if you are 110% certain what
you're doing. Otherwise -> please ask.
2011-12-07 19:24:58 +00:00

18 lines
514 B
PHP

--TEST--
Bug #28088 (strtotime() cannot convert 00 hours")
--INI--
date.timezone=UTC
--FILE--
<?php
echo "The following line rightly shows the correct date time:\n";
echo gmdate("m/d/y Hi", strtotime("04/04/04 2345")), "\n";
echo "But the following line fails to show the correct date time:\n";
echo gmdate("m/d/y Hi", strtotime("04/04/04 0045"))."\r\n";
?>
--EXPECT--
The following line rightly shows the correct date time:
04/04/04 2345
But the following line fails to show the correct date time:
04/04/04 0045