thiemowmde added a project: Patch-For-Review. thiemowmde added a comment. Note that "2011-04-19" is not a valid ISO timestamp our current parser setup can recognize as an ISO timestamp. It must be "+2011-04-19T00:00:00Z" to be recognized as such.
"2011-04-19" is recognized as, well, something very odd by PHP's build in DateTime parser (see http://php.net/manual/en/datetime.construct.php). We are using this as a fallback. There is nothing we can do to "fix" that part of PHP other than implement our own parsers. I uploaded https://github.com/DataValues/Time/pull/27. It rewrites our existing parser in a way it can recognize incomplete ISO date strings. Note that strings like "2011-4-19" will still be invalid with this patch. TASK DETAIL https://phabricator.wikimedia.org/T85324 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: thiemowmde Cc: Addshore, Revi, thiemowmde, Kwj2772, JeroenDeDauw, Aklapper, daniel, Wikidata-bugs, aude _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
