Jump to content

About [[Pywikibot:Revertbot-revert/en]]

Well, ISO dates are completely unsuited for translated messages. What to do?

Purodha Blissenbach (talk)14:42, 16 February 2015

Feel free to open a feature request on phab to improve date formatting in revertbot, but it's unlikely to be implemented soon. Doing date formatting *correctly* means we actually have to implement a way to format localized dates and times, which (as far as I know) we currently don't have.

I'm not sure though why you feel ISO dates 'are completely unsuited'. The goal of the message is to transmit four bits of information ('we reverted', revision X, which was created by Y at date/time Z) and, even if the translated message is imperfect, this message can be transmitted.

Valhallasw (talk)14:54, 16 February 2015

ISO dates are understandable for people with an anglosaxon background - be it learned or grown up in. For most other cultures they are either completely unreadable or at least misleading. So that is not a little imperfection that we are talking about here, they are unsuited for i18n.

Purodha Blissenbach (talk)20:28, 11 June 2015

Realistically, there is no way to implement this in pywikibot at the moment. Either we implement it ourselves (not realistic), or we hook into ICU (which is possible, has issues for windows users). I created phab:T102174 to track this; please continue the discussion there.

Valhallasw (talk)20:36, 11 June 2015