This plugin add a timezone configuration field for you to set up your dokuwiki timezone
Compatible with DokuWiki
You need to be a bit savage, I can't lie. It is not plain simple. But it is easy enough.
After installing this plugin in your plugin directory (from github or from the instalation tool), you need to edit the file:
...dokuwiki/public/inc/init.php
Comment line 95:
//date_default_timezone_set(@date_default_timezone_get());
Add the following lines:
if(empty($conf['plugin']['timezoneco']['timezone'])){ date_default_timezone_set(@date_default_timezone_get()); }else{ date_default_timezone_set($conf['plugin']['timezoneco']['timezone']); }
On your admin / configuration settings, find the timezone
field and add a string of your timezone according to PHP timezone strings.
Remember: if you upgrade your dokuwiki, you need to edit the init.php
file again.
Add discussion at issue tracker: