Page MenuHomePhabricator

Change date format in Pageviews tool (and related tools) to YYYY-MM-DD
Closed, InvalidPublic

Description

Currently the Pageviews tool https://tools.wmflabs.org/pageviews/ and related tools (Langviews, Massviews...) uses the american date format MM-DD-YYYY. This is confusing for most people (especially when the date is the 12th or less), and the Citoid system requires a YYYY-MM-DD format, as that is compliant with https://en.wikipedia.org/wiki/ISO_8601

Please change these tools to use the ISO format too.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 29 2016, 1:50 PM

@Wittylama The date format should go off of your computer and/or browser settings, which I assume you have set to US English. You can force ISO 8601 by unchecking "Localise date format" in the Settings panel. Does this work for you?

Thank you very much. Yes - that does work.
Oddly though, my computer is NOT set to US english standard - it is DD/MM/YYYY. But that's not your problem I suspect :-)

Thanks for the quick reply. I guess you can mark this one as closed?

MusikAnimal closed this task as Invalid.Nov 29 2016, 5:29 PM

@Wittylama Here is a tiny script to tell you what language your browser is set to: https://jsfiddle.net/og7kpuk4/ If it is not "en-US", and you feel the language being reported should have a different date format, let me know so I can update the list I have :) Will go ahead and close as invalid

MusikAnimal moved this task from Backlog to Done on the Tool-Pageviews board.Dec 3 2016, 4:04 AM