Last modified: 2010-02-12 01:13:56 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 T19947, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17947 - Show "Date format" on Special:Preferences in current time
Show "Date format" on Special:Preferences in current time
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
: 18850 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-11 20:33 UTC by Umherirrender
Modified: 2010-02-12 01:13 UTC (History)
5 users (show)

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


Attachments
show what the 'no preference' time looks like; use current time, not 2001; show server date too (1.14 KB, patch)
2009-05-27 01:49 UTC, Dan Jacobson
Details

Description Umherirrender 2009-03-11 20:33:54 UTC
In my opinion the hardcoded "2001-01-15T16:12:34" on [[Special:Preferences]] should replace by the current local time. It is more useless to have a outdated time at the place (the description is in code, but nobody know about that). Show the current time is the best way to demonstrate the formats. The user can interpreted the time.
Comment 1 Niklas Laxström 2009-03-12 09:13:02 UTC
I changed this once but Brion or Tim reverted me.
Comment 2 Umherirrender 2009-03-12 18:04:13 UTC
Yeah, you right: r13987 and r15725

But that time is not better, than the other. The current time is the best one, because you have not a wheel war for a example and no hardcoded stuff, which nobody can interpreted.
Comment 3 Roan Kattouw 2009-05-20 19:52:54 UTC
*** Bug 18850 has been marked as a duplicate of this bug. ***
Comment 4 Roan Kattouw 2009-05-20 19:54:54 UTC
(In reply to comment #3)
> *** Bug 18850 has been marked as a duplicate of this bug. ***
> 

Good point from this dupe: using current time would make stuff a lot clearer for users with different calendars than ours.
Comment 5 MZMcBride 2009-05-20 19:56:03 UTC
I think it's cute to use Wikipedia Day. People can read the time just fine, current or otherwise.
Comment 6 Dan Jacobson 2009-05-27 01:49:12 UTC
Created attachment 6159 [details]
show what the 'no preference' time looks like; use current time, not 2001; show server date too

This patch that achieves all of my goals.

The only question I have left is what should we do when in some
languages, like uselang=en, the "No preferences" item is the same as one
of the other choices:

Date and time Date format

  (*) 09:14, 27 May 2009 (No preference)
  ( ) 09:14, May 27, 2009
  ( ) 09:14, 27 May 2009
  ( ) 09:14, 2009 May 27
  ( ) 2009-05-27T09:14:50

That might be rather confusing to the user.
Should we make the duplicate disappear from the choices?

> I think it's cute to use Wikipedia Day. People can read the time just fine,
> current or otherwise.
If you were a wristwatch store owner, would you freeze all your wares on
your birthday, or use the current time?
And try using uselang=zh-tw, uselang=ko, or uselang=ja. Such users are
forced to calculate in their heads if 2001 and their local date match or
not.
Comment 7 Dan Jacobson 2009-05-27 01:52:07 UTC
>This patch that achieves all of my goals.
<This patch achieves all of my goals. see bug 18850.
Comment 8 Chad H. 2010-02-12 01:13:56 UTC
Done in r62348. Note that I only did the timestamp change from Wikipedia day to wfTimestampNow().

Other unrelated changes from Jidanni can be filed as a separate bug, if anyone thinks it's worth it.

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


Navigation
Links