#1 2025-01-30 18:01:04

avantat
Member
2025-01-30
3

User activity shows wrong timezone, PHP shows correct

Hello

I've noticed that User activity shows the wrong timzone. I'm America/New_York. PHP shows correct timezone (for Local and Master). Is there another setting somewhere in Piwigo?

Thanks!




    Piwigo 15.3.0 Check for upgrade
    Installed on 6 January 2025, 3 weeks 2 days ago
    Operating system: Linux
    PHP: 8.3.6 (Show info) [2025-01-30 12:00:19]
    MySQL: 10.11.8-MariaDB-0ubuntu0.24.04.1 [2025-01-30 17:00:19]
    Graphics Library: GD 2.3.3
    Cache size 1899.49 Mo   calculated 2 weeks ago Refresh

Offline

 

#2 2025-01-31 16:52:32

swhite-photos
Member
2024-12-13
14

Re: User activity shows wrong timezone, PHP shows correct

You could try setting date_default_timezone_set('America/New York'); in the local files config editor, I had to do similar for Denver for all of mine to show correctly.

Offline

 

#3 2025-01-31 17:19:22

avantat
Member
2025-01-30
3

Re: User activity shows wrong timezone, PHP shows correct

Thank you, this worked great!!!

Offline

 

Board footer

Powered by FluxBB