FOG 1.5.10.1606 Time of captured image shows UTC time not local time
-
Hello,
I have local time set correctly on the Ubuntu box and TZ INFO in the FOG settings is set to the correct tz. Is there another time settings I need to change?
Thank you
-
@Fog_Newb
/etc/php.ini
’sdate.timezone
should be defined as well unfortunately. -
The one located in /etc/php/8.3/apache2 ?
If so under the [date] I’ve tried adding
date.timezone = "America/New_York"
date.timezone = America/New_York
and just now tried
date.timezone = 'America/New_York'
Saving and restarting each time but it’s still showing captures in UTC time.
Here is a screencap
Thank you
-
@Fog_Newb Under debian there’s 2 points:
/etc/php/8.3/cli/php.ini and the apache2/php.ini I believe
-
Thanks. I edited the php.ini under /etc/php/8.3/cli/php.ini and apache2/php.ini. I added
date.timezone = 'America/New_York'
Under the [date] section, saving then restarting and it is still the same.
Like this
Random time stuff related to box
-
and you’re 100% certain your instance of FOG is using php8.3? I know that seems an odd question but if you restarted php-fpm and apache2 there should be 0 references as the instantiation of php is using the date.timezone.
-
I’m not. But 8.3 is the only subdirectory in /etc/php
-
@Fog_Newb Then I have no idea and apologize for not having much more to give you…
If i’m mistaken, however, the value of the UTC for the imagine time might just be exactly presented instead of transformed to local timings?
-
Ok thanks