[Koha] Koha timezone
Сычев Игорь Алексеевич
ias at tpu.ru
Tue Jun 13 14:43:55 NZST 2023
Thanks for the reply.
After restarting memcached, the changes in koha-conf started working.
From: Tomas Cohen Arazi <tomascohen at gmail.com>
Sent: Saturday, June 10, 2023 7:47 PM
To: Сычев Игорь Алексеевич <ias at tpu.ru>
Cc: koha <koha at lists.katipo.co.nz>
Subject: Re: [Koha] Koha timezone
The timezone configuration details should say 'Config: Asia/Tomsk | ...: Undefined ' for you.v which means there's no env variable set, and the tz had been specified in koha-conf.xml.
Questions:
- Have you loaded the tz_info stuff in MySQL?
- Have you restarted memcached after changing koha-conf?
El vie, 9 jun 2023 5:16, Сычев Игорь Алексеевич <ias at tpu.ru<mailto:ias at tpu.ru>> escribió:
Hello!
Time zone: Used: Asia/Tomsk | Config: Undefined | Environment (TZ): Undefined
Why "Undefined"?
Is it just me?
https://wiki.koha-community.org/wiki/Time_Zone_Configuration
If set <timezone>Asia/Tomsk</timezone> to koha-conf.xml and restart koha-common, then on the page cgi-bin/koha/about.pl<http://about.pl> http error 500 (Internal Server Error).
root at koha:~# mysql -uroot -p -e "SHOW VARIABLES LIKE '%time_zone%';"
Enter password:
+------------------+--------+
| Variable_name | Value |
+------------------+--------+
| system_time_zone | +07 |
| time_zone | SYSTEM |
+------------------+--------+
root at koha:~# mysql -uroot -p -e "select current_timestamp();"
Enter password:
+---------------------+
| current_timestamp() |
+---------------------+
| 2023-06-08 16:48:10 |
+---------------------+
The date and time are correct.
Koha 23.05
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33936
Good Luck!
Igor A. Sychev
Tomsk Polytechnic University
https://lib.tpu.ru
_______________________________________________
Koha mailing list http://koha-community.org
Koha at lists.katipo.co.nz<mailto:Koha at lists.katipo.co.nz>
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list