Annotation of embedaddon/php/ext/date/tests/DateTime_construct-dst-overlap.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: DateTime::__construct() -- fall daylight/standard overlap
! 3: --CREDITS--
! 4: Daniel Convissor <danielc@php.net>
! 5: --FILE--
! 6: <?php
! 7:
! 8: date_default_timezone_set('America/New_York');
! 9: // PHP defaults to Daylight Saving Time. Ensure consistency in future.
! 10: $d = new DateTime('2011-11-06 01:30:00');
! 11: echo $d->format('P') . "\n";
! 12:
! 13: ?>
! 14: --EXPECT--
! 15: -04:00
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>