Features / Usability

Features / Usability

Re: Re: Re : How can do change default locale? (UTC time)

posts: 18 United Kingdom

I have no experience of Hacki ^H^H^H^H^H altering Smarty wink - Give me a clue t get started. I looked throught some of the files but dont see where tz is set


posts: 2

Found it. Note that this IS a hack, since this will get overwritten the next time you upgrade.
Hopefully this will get fixed in the next version.

edit lib/tikilib.php

find the section with the phrase "function get_display_offset"

find the line '$display_tz = "UTC"' and change to your local tz

find the line '$display_offset = "0"' and change it to match your tz

Do not change any other lines that affect these variables.