[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
Thu Feb 22 12:12:51 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20123
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #72080|0 |1
is obsolete| |
--- Comment #9 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 72081
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72081&action=edit
Bug 20123: Allow multiple instances of Koha to have different timezones on the
same server
Most of Koha depends on the local timezone of the server, except for
Koha::Database which support an ENV override with the key TZ.
We should take this a step further. We should not only accept the TZ
environment variable for all of Koha, we should really be able to set the
timezone in the koha conf file as well so we don't have to pass that
environment variable to things like cronjobs and one-off scripts.
Test Plan:
1) Apply this patch
2) Set a timzone in your koha_conf file, that is *not* your local time zone
Available timzones are listed here:
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
3) Restart apache/plack
4) Perform some actions, check the timestamps in the database and in the
html output, note they are for the set timezone and not the local
timezone.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list