Last modified: 2009-04-07 13:49:59 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 T20377, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18377 - Time in Enhanced ChangesList lacking localisation
Time in Enhanced ChangesList lacking localisation
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-07 00:40 UTC by Marcus Buck
Modified: 2009-04-07 13:49 UTC (History)
1 user (show)

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


Attachments

Description Marcus Buck 2009-04-07 00:40:32 UTC
The time of day in RecentChanges and Watchlist will be rendered in ContentLang independant of the language set in the preferences. There's no reason to do so, as the dates in the same list are rendered in the user's language.

The relevant line of code seems to be line 550 in ChangesList.php, which is:

$time = $wgContLang->time( $rc_timestamp, true, true );

but which should be:

$time = $wgLang->time( $rc_timestamp, true, true );

Thanks
Comment 1 Niklas Laxström 2009-04-07 06:44:08 UTC
Fixed in r49261.
Comment 2 Marcus Buck 2009-04-07 13:49:59 UTC
Thanks

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


Navigation
Links