[SOLVED] Audits modification times #2180

Closed
opened 2026-02-05 03:12:56 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Rathorian on GitHub (Apr 5, 2021).

Hello,

I think I discovered a bug on the time of modifications in Audit log.

The time displayed is 2 hours behind the actual time.

The timezones are however configured correctly for us in Europe/Paris and we are 4 people to have the same problem.

I personally use the linuxserver docker image.

In my docker-compose, on the bookstack and mariadb container, I am using the environment variable: TZ=Europe/Paris
I check by connecting to the two containers using the command docker exec -ti container-name sh that the date is in the correct timezone and everything is ok.
I even added to the php-local.ini file in the /conf/php/ folder the parameter: date.timezone = Europe/Paris

Here is a picture
While it is 14H53M17S

Originally created by @Rathorian on GitHub (Apr 5, 2021). Hello, I think I discovered a bug on the time of modifications in Audit log. The time displayed is 2 hours behind the actual time. The timezones are however configured correctly for us in **_Europe/Paris_** and we are 4 people to have the same problem. I personally use the [linuxserver docker image](https://hub.docker.com/r/linuxserver/bookstack). In my docker-compose, on the bookstack and mariadb container, I am using the environment variable: `TZ=Europe/Paris` I check by connecting to the two containers using the command `docker exec -ti container-name sh` that the date is in the correct timezone and everything is ok. I even added to the php-local.ini file in the `/conf/php/` folder the parameter: `date.timezone = Europe/Paris` [Here is a picture](https://ibb.co/QC8MDXM) While it is 14H53M17S
Author
Owner

@Rathorian commented on GitHub (Apr 6, 2021):

Hello,

Problem solved by adding environment variable to docker-compose:

- "APP_TIMEZONE=Europe/Paris"
@Rathorian commented on GitHub (Apr 6, 2021): Hello, Problem solved by adding environment variable to docker-compose: ``` - "APP_TIMEZONE=Europe/Paris" ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2180