Last modified: 2009-02-03 18:53:17 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 T7832, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5832 - Provide variable for customizing time zone description
Provide variable for customizing time zone description
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 7556 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-05 01:08 UTC by Borgx
Modified: 2009-02-03 18:53 UTC (History)
3 users (show)

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


Attachments

Description Borgx 2006-05-05 01:08:23 UTC
Currently the only way to change time zone description to local language, is by
changing the code itself. 
for ex:
 $d = $wgContLang->timeanddate( date( 'YmdHis' ), false, false) .
      ' (' . date( 'T' ) . ')';
 if ( isset( $wgLocaltimezone ) ) {
    putenv( 'TZ='.$oldtz );
 }

to:

 $d = $wgContLang->timeanddate( date( 'YmdHis' ), false, false) .
      ' (some local timezone)';
 if ( isset( $wgLocaltimezone ) ) {
    putenv( 'TZ='.$oldtz );
 }

which, we must redoing this for each mediawiki upgrades.

Please provide $wg variable for this for customization through localsettings.php
Thanks
Comment 1 Borgx 2006-05-05 22:55:04 UTC
Target of enhancement request is 1.6.x and 1.7 (1.6 because 1.7 is long way from
being released).
Comment 2 Rob Church 2006-05-06 15:26:42 UTC
(In reply to comment #1)
> Target of enhancement request is 1.6.x and 1.7 (1.6 because 1.7 is long way from
> being released).

We don't add new stuff to release branches unless our lead developer gives us
his blessing. Some of us were reminded of this the hard way.
Comment 3 Raimond Spekking 2007-08-16 15:15:54 UTC
*** Bug 7556 has been marked as a duplicate of this bug. ***
Comment 4 Niklas Laxström 2009-01-31 17:35:40 UTC
r46649 with wrong bug number though.
Comment 5 Melancholie 2009-02-03 18:53:17 UTC
per comment #4

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


Navigation
Links