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
Next revisionBoth sides next revision
tips:timezone [2015-09-25 21:41] Aleksandrtips:timezone [2019-04-16 18:59] Dr-Yukon
Line 17: Line 17:
 Note that if you modify ''conf/local.php'', your changes will be lost when you configure via the GUI. Note that if you modify ''conf/local.php'', your changes will be lost when you configure via the GUI.
  
-For changing time zone on linux shared hosting - dokuWiki/inc/init.php - Line no 88 - Set you own time zone.+**ATTENTION: This may cause the RSS feed to crash, in which it will flood updates every <set option> minutes for X hours in a row by a time shift of X hours east, and updates will not be considered fresh immediately after a posting by a time shift west** 
 + 
 +For changing time zone on linux shared hosting - dokuWiki/inc/init.php - search "date_default_timezone_set" (line #93 for Greebo build) - Set you own time zone.
 e.g. ''%%date_default_timezone_set('Asia/Kolkata');%%'' for india. You may also try double quotes, if single quotes give a PHP warning... e.g. ''%%date_default_timezone_set('Asia/Kolkata');%%'' for india. You may also try double quotes, if single quotes give a PHP warning...
 +
 +**ATTENTION: This may cause the RSS feed to crash, in which it will flood updates every <set option> minutes for X hours in a row by a time shift of X hours east, and updates will not be considered fresh immediately after a posting by a time shift west**
  
 ===== Edit PHP Conf ===== ===== Edit PHP Conf =====
Line 40: Line 44:
 The PHP site lists the [[http://us.php.net/timezones|available timezones]]. The PHP site lists the [[http://us.php.net/timezones|available timezones]].
  
-For example, if you live in Chicago, replace GMT with "America/Chicago."+For example, if you live in Chicago, replace GMT with "America/Chicago".
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