Last modified: 2014-03-11 05:03:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63409, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61409 - (rfc3339) Should support less-pedantic, T-less ISO-style option for the "Date format" preference
(rfc3339)
Should support less-pedantic, T-less ISO-style option for the "Date format" p...
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.23.0
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
https://en.wikipedia.org/wiki/Special...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-15 02:46 UTC by Samuel Bronson
Modified: 2014-03-11 05:03 UTC (History)
2 users (show)

See Also:
Web browser: Firefox
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Samuel Bronson 2014-02-15 02:46:58 UTC
Now, following standards is great and all, but in my opinion, I think that the ISO and time like "2014-02-15T01:12:23" takes things a *bit* too far.

I would think it would be REALLY nice if you would take advantage of this provision of [https://tools.ietf.org/html/rfc3339 RFC 3339]:

      NOTE: ISO 8601 defines date and time separated by "T".
      Applications using this syntax may choose, for the sake of
      readability, to specify a full-date and full-time separated by
      (say) a space character.

I don't particularly care if this is implemented as a new "RFC 3339" or "ISO-style" value for the option, or it replaces the existing "ISO 8601" value. But seriously, I'm not sure I've ever seen the T format in user-facing output *anywhere* else, and it's REALLY a pain -- not only is it hard on the visual centre of my brain, but also not very amenable to easy selection for copy+paste.  (Firefox wants to select either none of the "15T01", or the whole chunk.)

Judging by <http://www.cl.cam.ac.uk/~mgk25/iso-time.html>, I'm guessing that the "T" was mostly meant to help in formats where fields are separated from one another by whitespace, and it is desired to have a combined date+time field.
Comment 1 Bawolff (Brian Wolff) 2014-02-15 05:05:13 UTC
>not only is it hard on the visual centre of my brain, but also not very amenable >to easy selection for copy+paste.

Wouldn't the default "November 12, 2001" format be the easiest on the "visual" centre of the brain?
Comment 2 Samuel Bronson 2014-03-11 05:03:57 UTC
It turns out that GNU date just calls this RFC 3339; look up "--rfc-3339" on <http://www.gnu.org/software/coreutils/manual/html_node/Options-for-date.html>, or run:

$ info --index-search=--rfc-3339 coreutils
(with the "info" package installed, obviously)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links