Lines Matching refs:createFromFormat
2 Bug #51393 (DateTime::createFromFormat() fails if format string contains timezone)
7 $dt = DateTime::createFromFormat('O', '+0800');
10 $dt = DateTime::createFromFormat('P', '+08:00');
13 $dt = DateTime::createFromFormat('O', '-0800');
16 $dt = DateTime::createFromFormat('P', '-08:00');
19 $dt = DateTime::createFromFormat('[O]', '[+0800]');
22 $dt = DateTime::createFromFormat('[P]', '[+08:00]');
25 $dt = DateTime::createFromFormat('[O]', '[-0800]');
28 $dt = DateTime::createFromFormat('[P]', '[-08:00]');
31 $dt = DateTime::createFromFormat('O', 'GMT+0800');
34 $dt = DateTime::createFromFormat('P', 'GMT+08:00');
37 $dt = DateTime::createFromFormat('O', 'GMT-0800');
40 $dt = DateTime::createFromFormat('P', 'GMT-08:00');
43 $dt = DateTime::createFromFormat('[O]', '[GMT+0800]');
46 $dt = DateTime::createFromFormat('[P]', '[GMT+08:00]');
49 $dt = DateTime::createFromFormat('[O]', '[GMT-0800]');
52 $dt = DateTime::createFromFormat('[P]', '[GMT-08:00]');
55 $dt = DateTime::createFromFormat('O', 'invalid');