Was this page helpful?

Handling daylight savings time

    Table of contents
    No headers

    Currently MindTouch doesn't automatically correct the time for daylight saving time. However a work-around has been found to solve this.

    This fix only works if you have console access to your server. Because of this, wik.is users will be unable to perform the steps.

    1. Log into the console of your wiki server
    2. Type "tzconfig" and press enter
    3. Follow the onscreen instructions to set your timezone correctly.
    4. Open LocalSettings.php by typing "nano /var/www/dekiwiki/LocalSettings.php"
    5. Modify the following value:
    $wgDefaultTimezone = date('P');

    Restart dekihost (/etc/init.d/dekihost restart) and new timestamps should be the correct time.

    Was this page helpful?
    Tag page
    Viewing 2 of 2 comments: view all
    Is a restart of dekihost necessary? I added the variable and manually set a timezone and a restart was NOT required.
    Posted 07:14, 1 Aug 2008
    I implemented this, but it doesnt seem to work. when u type date into the ssh, i get the correct time back, but dekiwiki is still an hour behind?
    Posted 08:15, 4 Aug 2008
    Viewing 2 of 2 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by