File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 7
7
8
8
- Date:
9
9
. Fixed bug #51934 (strtotime plurals / incorrect time). (Derick)
10
+ . Fixed bug #51987 (Datetime fails to parse an ISO 8601 ordinal date
11
+ (extended format)). (Derick)
10
12
. Fixed bug #66019 (DateTime object does not support short ISO 8601 time
11
13
format - YYYY-MM-DDTHH) (cmb, Derick)
12
14
. Fixed bug #68549 (Timezones and offsets are not properly used when working
Original file line number Diff line number Diff line change
1
+ --TEST--
2
+ Bug #51987 (Datetime fails to parse an ISO 8601 ordinal date (extended format))
3
+ --FILE--
4
+ <?php
5
+ date_default_timezone_set ('Europe/London ' );
6
+ $ d2 = new Datetime ('1985-102 ' );
7
+ var_dump ($ d2 );
8
+ ?>
9
+ --EXPECTF--
10
+ object(DateTime)#%d (%d) {
11
+ ["date"]=>
12
+ string(26) "1985-04-12 00:00:00.000000"
13
+ ["timezone_type"]=>
14
+ int(3)
15
+ ["timezone"]=>
16
+ string(13) "Europe/London"
17
+ }
You can’t perform that action at this time.
0 commit comments