DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:timezone

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tips:timezone [2020-05-14 10:38] – [Timezones for users] Dr-Yukontips:timezone [2022-06-22 04:02] (current) – clarify that local.protected.php may need to be created, as I had to do for my wiki 96.241.231.169
Line 3: Line 3:
 ===== Edit DokuWiki Conf ===== ===== Edit DokuWiki Conf =====
  
-To set the correct timezone edit ''conf/local.protected.php'' and add the line:+To set the correct timezoneedit ''conf/local.protected.php'' or create it if it does not already exist. Add the line:
  
 <code php> <code php>
Line 9: Line 9:
 </code> </code>
  
-Make sure to put the modification after "<?php" if it was already there or just add it like this:+The modification goes after "<?php"if it is not already thereit can be added as follows
 <code php conf/local.protected.php> <code php conf/local.protected.php>
 <?php <?php
Line 49: Line 49:
  
 I use this for my UTS+10 timezone (look at "shift" var) and posted a link on my site for readers I use this for my UTS+10 timezone (look at "shift" var) and posted a link on my site for readers
-https://greasyfork.org/ru/scripts/384537-comicslate-timefix+https://github.com/Comicslate/Userscripts/blob/master/Comicslate/TimeFix.user.js
  
 It would be nice to make a plugin to request a timezone in a user profile and store this parameter in a cookie It would be nice to make a plugin to request a timezone in a user profile and store this parameter in a cookie
tips/timezone.txt · Last modified: 2022-06-22 04:02 by 96.241.231.169

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki