Page MenuHomePhabricator

Internationalization of dates
Closed, ResolvedPublic

Description

Currently dates are displayed in American style (month, day, year), on both the form and the output produced by the form. There should be a way for administrators to set the format for dates - at the very least, whether month goes before the day, or vice versa. Maybe the best solution is to use the value of the $wgAmericanDates variable, which is already an optional setting in the main MediaWiki LocalSettings.php file.


Version: unspecified
Severity: normal

Details

Reference
bz11410

Related Objects

StatusSubtypeAssignedTask
ResolvedYaron_Koren
DeclinedNone

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:57 PM
bzimport set Reference to bz11410.

sergey.chernyshev wrote:

Just a note: I remember we also discussed that this problem will be resolved by SMW when they'll start displaying Type:Date as with $wgUseDynamicDates (See SMW Bug 9620).

Oh yeah, that's right. Well, this can wait.

mail wrote:

De-americanise date/time (24h format, day month year)

This is an attempt to make SF more useful for non-Americans - my users find it unbearable to input the time in 12h format. I'm sure this could be solved much more elegantly, but it works ;)

The behaviour doesn't change for Wikis where $wgAmericanDates=true.

Attached:

Thanks again for the patch. This was added in version 1.3.9.