Annotation of embedaddon/php/ext/date/tests/bug28088.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #28088 (strtotime() cannot convert 00 hours")
! 3: --INI--
! 4: date.timezone=UTC
! 5: --FILE--
! 6: <?php
! 7: echo "The following line rightly shows the correct date time:\n";
! 8: echo gmdate("m/d/y Hi", strtotime("04/04/04 2345")), "\n";
! 9:
! 10: echo "But the following line fails to show the correct date time:\n";
! 11: echo gmdate("m/d/y Hi", strtotime("04/04/04 0045"))."\r\n";
! 12: ?>
! 13: --EXPECT--
! 14: The following line rightly shows the correct date time:
! 15: 04/04/04 2345
! 16: But the following line fails to show the correct date time:
! 17: 04/04/04 0045
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>