MindTouch Developer Center > MindTouch Deki > FAQ > Configuration > How do I...Handle Daylight Saving Time

How do I...Handle Daylight Saving Time

Table of contents
No headers

Currently Deki-Wiki 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/deki-hayes/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.

  

  

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 15: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 16:15, 4 Aug 2008
Viewing 2 of 2 comments: view all
You must login to post a comment.
Powered by MindTouch Deki Enterprise Edition v.8.08 RC1