agray added a comment.

[Apologies - forgot to ever put in a response to this. Thanks for looking into it.]

I agree that 07/09/2017 is always a bit ambiguous and we can never reliably say what the user means. But I guess what's confusing me here is that 07-09-2017 or 07 09 2017 are also a bit ambiguous and we can never reliably say what the user means, even if we think it's a little more likely to be one rather than the other.

It feels like we should either treat them all the same way, defaulting to DMY, or reject them all as invalid and ask the user to resubmit. I don't understand what's gained by having a different presumption based solely on the punctuation used. However, I guess that if this weird behaviour is something we're inheriting from PHP, there's not much we can do about it!


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

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

To: agray
Cc: Liuxinyu970226, PokestarFan, Lea_Lacroix_WMDE, daniel, Lydia_Pintscher, thiemowmde, Izno, Aklapper, agray, GoranSMilovanovic, QZanden, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to