https://bugzilla.wikimedia.org/show_bug.cgi?id=47211
--- Comment #20 from Mormegil <[email protected]> --- (In reply to comment #19) > We do not want > to add new user selectable date format. We could add new option besides > "time", "date" and "both" Yes, that was the idea. (And don’t forget "pretty"!) > but then we would need to get it defined for all existing formats > which is going to be PITA given that these cannot be translated in the > usual way. Possibly. > It can also lead horrible results, for example in Gerrit, if you choose ISO > as the date format, in listings you will get things like 05-10 (MM-DD) which > is so wrong in many ways. Well, right, that is a bit of a problem, but it is not really a new problem, because of the current “pretty” implementation. If you set ISO as your date format in preferences and go to https://www.mediawiki.org/wiki/Special:Notifications, you’ll see exactly that (“05-10”). But the fact is there is no ISO 8601-compliant way of writing just the day and month (IIANM). I would say if somebody configured ISO as their preferred date format (who does that, anyway?), then he/she _wants_ to see e.g. “2013-05-10” instead of “May 10”. In other words (MessagesEn.php): $dateFormats = array( 'mdy time' => 'H:i', 'mdy date' => 'F j, Y', 'mdy shortdate' => 'F j', // snip... 'dmy date' => 'j F Y', 'dmy shortdate' => 'j F', // snip... 'ISO 8601 date' => 'xnY-xnm-xnd', 'ISO 8601 shortdate' => 'xnY-xnm-xnd', ); And I would say this would be a nice and correct result (especially given the _current_ solution does not allow you to say you want “10 May” instead of “May 10”). -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
