|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-11-19 13:28 UTC] iliaa@php.net
[2009-11-21 22:30 UTC] peter dot ritt at gmx dot net
[2009-11-21 22:57 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 04:00:01 2025 UTC |
Description: ------------ date_parse_from_format refuses to read '2009-11-17T00:08:24+01:00'; error: The format separator does not match Reproduce code: --------------- $d = date('c'); echo $d; echo "\n"; print_r(date_parse_from_format('c', $d)); Expected result: ---------------- array with data as specified in function.date-parse-from-format.php Actual result: -------------- Array ( [year] => [month] => [day] => [hour] => [minute] => [second] => [fraction] => [warning_count] => 0 [warnings] => Array ( ) [error_count] => 2 [errors] => Array ( [0] => The format separator does not match [1] => Trailing data ) [is_localtime] => )