Extension:TimezoneConverter

From mediawiki.org
MediaWiki extensions manual
TimezoneConverter
Release status: experimental
Implementation Parser function
Author(s) Sam Wilson (Samwilsontalk)
Latest version 0.2.0
MediaWiki
Composer samwilson/timezone-converter
License GNU General Public License 3.0 or later
Download

The TimezoneConverter extension dynamically replaces dates and times in wiki pages to show them in the local timezone of the reader.

Installation[edit]

  • Download and place the file(s) in a directory called TimezoneConverter in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'TimezoneConverter' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters[edit]

$TimezoneConverterFormats
An array of arrays, each one with php and js keys defining date formats.