[Koha] Koha timezone

Сычев Игорь Алексеевич ias at tpu.ru
Fri Jun 9 19:26:03 NZST 2023


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 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


More information about the Koha mailing list