Last modified: 2011-04-22 18:30:00 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 T26604, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24604 - UploadWizard: date picker needs to adapt to user locale settings
UploadWizard: date picker needs to adapt to user locale settings
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks: 27800
  Show dependency treegraph
 
Reported: 2010-07-30 18:52 UTC by Max Semenik
Modified: 2011-04-22 18:30 UTC (History)
5 users (show)

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


Attachments

Description Max Semenik 2010-07-30 18:52:06 UTC
It always assumes that weeks start on Sundays, which is not the case in many cultures and therefore will be confusing to many people.

More on the issue: http://en.wikipedia.org/wiki/Monday#Position_in_the_week
Comment 1 Neil Kandalgaonkar 2010-07-30 20:14:48 UTC
Actually we made sure this calendar widget is properly internationalizable in this way. We just didn't write the bit to make it conform to your MediaWiki user settings yet. Patches welcome, but it's on our TODO anyway.

I added a note in our tasklist to update this bug later.

http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerLocalised.html
Comment 2 Nux 2010-12-01 01:42:06 UTC
Maybe for now you could change the date format displayed in the date filed? I think semi-ISO (Y-m-d H:i:s) would be better then something containing words in foreign language. Also I find current format confusing because I was not sure if it is going to be displayed like that later or will it be ISO or whatever.
Comment 3 Neil Kandalgaonkar 2011-02-28 23:14:01 UTC
It seems there is a preference in MediaWiki for time format, but there is none for calendar locale. This will have to be added.

Google Calendar does not obviously prefill these... they have independently settable characteristics:

Date format (ISO 8601, MM/DD/YYYY, YYYY/DD/MM). MediaWiki has this already

Time format (irrelevant for us since we're not showing time... yet) MediaWiki has this already.

Week starts on (Sunday, Monday, Saturday). MediaWiki does NOT have this.

In some cases a good guess for start-of-week can be inferred from the interface language, but this is fragile.
Comment 4 Neil Kandalgaonkar 2011-03-01 01:48:00 UTC
Pulling this out of UploadWizard 1.0, deferring to 1.1.
Comment 5 Ryan Kaldari 2011-04-21 01:40:40 UTC
The displayed date format has been changed to ISO (yyyy-mm-dd). This addresses Nux's suggestion, but not the original bug.

I think the best solution would be to use datapicker's localization options based on user language.
Comment 6 Ryan Kaldari 2011-04-22 18:23:12 UTC
Actually it looks like this bug was fixed back in November.

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


Navigation
Links