daniel-lerch / openkool

Open source fork of kOOL - Online church organization tool
GNU General Public License v2.0
3 stars 3 forks source link

Time is UTC instead of Localtime (our localtime would be UTC+1 Europe/Zurich) #24

Open zimmerlis opened 2 years ago

zimmerlis commented 2 years ago

I tied the following:

cat /etc/localtime TZif2UTCTZif2▒UTC UTC0

Then I executed the following in docker image:

dpkg-reconfigure tzdata ... after that I get: Current default time zone: 'Europe/Zurich' Local time is now: Fri Jan 28 10:41:52 CET 2022. Universal Time is now: Fri Jan 28 09:41:52 UTC 2022.

But openkool shows always UTC, and all ical abos are wrong.

I tried to configure the time zone Europe/Zurich for PHP or openkool, without success.

zimmerlis commented 2 years ago

Okay, for now I have solved this by setting this in the following file:

vi /usr/local/etc/php/conf.d/docker-php-locale.ini

image