Extension:TimezoneConverter
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 | GitHub: Note: |
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 yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'TimezoneConverter' );
- 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
andjs
keys defining date formats.