Addshore added a comment.

So yes, I believe this oddity is something that has gone wrong with 
PhpDateTimeParserTest.
Infact this exact behaviour is documented at the top of the class...

> 

> 

> - Time parser using PHP's DateTime object. Since the behavior of PHP's parser 
> can be quite odd

> - (for example, it pads missing elements with the current date and does 
> actual calculations such as

> - parsing "2015-00-00" as "2014-12-30") this parser should only be used as a 
> fallback.





TASK DETAIL
  https://phabricator.wikimedia.org/T104862

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Addshore, thiemowmde, Tobi_WMDE_SW, Lydia_Pintscher, Nikki, Aklapper, 
Wikidata-bugs, aude, Malyacko, P.Copp



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to