Topic on Project:Village Pump

Summary by Ciencia Al Poder
Shirayuki (talkcontribs)
Ciencia Al Poder (talkcontribs)

qqx displays (duration-decades: 4)(comma-separator)(duration-years: 7)(comma-separator)(duration-days: 26)(comma-separator)(duration-hours: 18)(comma-separator)(duration-minutes: 14)(and)(word-separator)(duration-seconds: 43)

AttemptToCallNil (talkcontribs)

API:

{
    "batchcomplete": "",
    "query": {
        "blocks": [
            {
                "id": 74115,
                "user": "223.24.7.206",
                "by": "Mainframe98",
                "timestamp": "2017-01-25T20:47:07Z",
                "expiry": "2017-01-27T03:47:07Z",
                "reason": "Inserting false or outdated translations",
                "anononly": "",
                "nocreate": "",
                "allowusertalk": ""
            }
        ]
    }
}

Which is 31 hours. It's likely the correct one. Also if you subtract the wrong result from the expiry date, you get something close to 1970-01-01.

MarkAHershberger (talkcontribs)

Isn't this something that should be fixed in the i18n messages?

Ciencia Al Poder (talkcontribs)

I doubt it has to do with i18n message since qqx lang code displays 4 decades which is blatantly incorrect.