Koha/debian/scripts
Kyle Hall e97b099d58
Bug 30468: koha-mysql does not honor Koha's timezone setting
If I run a query like "SELECT NOW()" from a koha report, I will get a different answer than if I had run it from koha-mysql.
In Koha, we set the timezone for each database connection.
However, koha-mysql does not do this, so instead we are left using the default timezone of the database.

Test Plan:
1) Set your time zone to something other than the database time zone
2) run "SELECT NOW()" using debian/scripts/koha-mysql
   *not* /usr/sbin/koha-mysql
3) Note you get the database timezone's current time
4) Apply this patch
5) Repeat step 2
6) Now you get the correct time!

Signed-off-by: Michal Urban <michalurban177@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-01 09:18:50 -03:00
..
koha-create Bug 25622: Use special chars in DB password (koha-create) 2022-07-05 08:41:55 -03:00
koha-create-dirs Bug 20428: (QA follow-up) Remove redundant directory level 2018-05-14 10:36:39 -03:00
koha-disable Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-dump Bug 21903: (follow-up) koha-dump can export uploaded and temporary uploaded files 2022-07-05 11:46:37 -03:00
koha-dump-defaults Bug 17265 - Make koha-create-defaults less greedy 2017-01-13 11:33:11 +00:00
koha-elasticsearch
koha-email-disable
koha-email-enable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-enable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-foreach Bug 25634: Warn if koha-shell returns non-zero in koha-foreach 2020-06-12 10:32:30 +02:00
koha-functions.sh Bug 21903: koha-dump can export uploaded and temporary uploaded files 2022-07-05 11:46:37 -03:00
koha-indexer Bug 27348: Fix test on ALTERNATE_INDEXER_DAEMON in koha-indexer 2021-06-21 12:07:28 +02:00
koha-list
koha-mysql Bug 30468: koha-mysql does not honor Koha's timezone setting 2022-08-01 09:18:50 -03:00
koha-mysqlcheck Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-passwd Bug 13143 - Detect if the password is in a pipe 2016-01-27 06:27:08 +00:00
koha-plack
koha-rebuild-zebra
koha-remove Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-reset-passwd Bug 17746: (QA follow-up) Make set_password.pl generate a password if required 2019-03-28 11:58:20 +00:00
koha-restore Bug 10517: (QA follow-up) No need to remove second true 2022-05-03 11:19:50 -10:00
koha-run-backups Bug 21111: Add --exclude-indexes to koha-run-backups 2020-11-04 12:59:34 +01:00
koha-shell Bug 28519: Add lib to koha-shell 2021-06-17 15:59:40 +02:00
koha-sip
koha-sitemap Bug 16733: Adjust other debian scripts using PERL5LIB 2017-01-20 14:15:27 +00:00
koha-translate Bug 18984: Remove NORMARC support 2021-10-07 15:36:40 +02:00
koha-upgrade-schema
koha-upgrade-to-3.4
koha-worker Bug 27783: (follow-up) Rename options 2022-04-13 15:55:40 +02:00
koha-z3950-responder
koha-zebra Bug 18909: Enable the maximum zebra records size to be specified per instance 2019-01-25 16:14:48 +00:00