[Koha-bugs] [Bug 20123] Allow multiple instances of Koha to have different timezones on the same server

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 26 19:47:47 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20123

--- Comment #14 from M. Tompsett <mtompset at hotmail.com> ---
(In reply to Jonathan Druart from comment #13)
> And what about other timezone problems? Like running cronjobs?

By setting the timezone in the config file, since each instance gets a config
file, the timezone setting would be based on the koha-conf.xml file where
you've added <timezone>foo/bar</timezone> in. This is the change necessary for
the cronjobs, because environment variables aren't generally set, except for
the web interface with the apache SetEnv. And plack is a pain, as you have
manually start it with the TZ= setting. This is why config overrides env
overrides default local time. At least in my understanding. The Koha/Database
tweak uses the C4/Context tweak which reads the config file. So, I don't think
cronjobs will be an issue. The issue, for which I leave it Failed QA, is
'local' is not valid for MySQL.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list