File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ PHP NEWS
6
6
. Fixed bug GH-8575 (CLI closes standard streams too early). (Levi Morrison)
7
7
8
8
- Date:
9
+ . Fixed bug #66019 (DateTime object does not support short ISO 8601 time
10
+ format - YYYY-MM-DDTHH) (cmb, Derick)
11
+ . Fixed bug #68549 (Timezones and offsets are not properly used when working
12
+ with dates) (Derick, Roel Harbers)
9
13
. Fixed bug GH-7758 (Problems with negative timestamps and fractions).
10
14
(Derick, Ilija)
11
15
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments