Annotation of embedaddon/php/ext/date/tests/bug37017.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #37017 (strtotime fails before 13:00:00 with some time zones identifiers).
! 3: --FILE--
! 4: <?php
! 5: date_default_timezone_set('GMT');
! 6: echo strtotime("2006-05-12 13:00:01 America/New_York"), "\n";
! 7: echo strtotime("2006-05-12 13:00:00 America/New_York"), "\n";
! 8: echo strtotime("2006-05-12 12:59:59 America/New_York"), "\n";
! 9: echo strtotime("2006-05-12 12:59:59 GMT"), "\n";
! 10: ?>
! 11: --EXPECT--
! 12: 1147453201
! 13: 1147453200
! 14: 1147453199
! 15: 1147438799
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>