Last modified: 2009-02-03 18:53:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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