xref: /PHP-8.2/ext/date/tests/bug66019.phpt (revision ee277621)
1--TEST--
2Bug #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 );
7echo $dateObject->format( 'j F Y H:i' );
8?>
9--EXPECT--
102 February 2012 10:00
11