thiemowmde added a comment.

I'm not sure what you mean when you say something is "wrong" with a test. This 
is an intended feature. At least intended by the PHP developers. We do not want 
this. I would love to disable this feature but couldn't find a way to do this. 
I do see these solutions:

1. Either add support for space separated dates to PhpDateTimeParser, or create 
a dedicated parser for such dates.
2. Add more checks to PhpDateTimeParser to detect magic "assume current day or 
month" cases and make the parsing fail if that happens. As said I would love to 
do this. I already did that for cases where PHP's parser messes with the year.
3. Do not use PHP's parsing at all. This means we must re-implement the whole 
thing, excluding the single feature we do not want. I honestly do not think 
this is worth our time.

I think I already wrote this in other tickets.


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

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

To: thiemowmde
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