danielbrendel / hortusfox-web

Self-hosted collaborative plant management and tracking system for plant enthusiasts
https://www.hortusfox.com
MIT License
674 stars 34 forks source link

Timezone error #270

Closed kenske closed 1 month ago

kenske commented 2 months ago

Describe the bug The app is reporting the wrong time. This seems to be causing issues with the activity log.

image

To Reproduce Steps to reproduce the behavior:

  1. Go to the Admin area
  2. Click on Info
  3. Scroll down to Server
  4. Reported time is incorrect

Screenshots image

Expected behavior The time in the screenshot should be 03:29

If I start a shell in the hortusfox docker container and check the date:

root@2992820401a1:/var/www/html# date
Wed Sep 11 22:28:59 CDT 2024
root@2992820401a1:/var/www/html# date -u
Thu Sep 12 03:28:55 UTC 2024

Software:

Here are the environment variables I'm using:

    environment:
      APP_ADMIN_EMAIL: "redacted"
      APP_ADMIN_PASSWORD:
      DB_HOST: redacted
      DB_PORT: 3306
      DB_DATABASE: hortusfox
      DB_USERNAME: hortusfox
      DB_PASSWORD:
      DB_CHARSET: "utf8mb4"

Desktop (please complete the following information):

danielbrendel commented 2 months ago

Thank you for reporting this bug. I could reproduce it and will fix it within the next version.