bug66019.phpt 286 B

12345678910
  1. --TEST--
  2. Bug #66019 (DateTime object does not support short ISO 8601 time format - YYYY-MM-DDTHH)
  3. --FILE--
  4. <?php
  5. $tz = new DateTimeZone("Europe/Amsterdam");
  6. $dateObject = new DateTime( '2012-02-02T10', $tz );
  7. echo $dateObject->format( 'j F Y H:i' );
  8. ?>
  9. --EXPECT--
  10. 2 February 2012 10:00