Reputation: 410
Recently updated to PHP 7.3.2 (built 02/15/19) and since then all of our date('H:i:s') variables no longer respect the default timezone originally set in the ini.
Linux system clock is correct. We reset the timezone, rebooted the server, same issue. phpinfo() reports the correct timezone (America/Denver)
Changing the timezone in the ini and via a test script both have no effect on the date/time printed. All date/time variables are 5 hours off regardless of what we set.
Any help would be appreciated. I wasn't able to find any information that reflected this scenario.
Upvotes: 2
Views: 126
Reputation: 410
Reinstalling 7.3.2 did not resolve the date issue. Removing 7.3.2 and installing 7.3.4 resolved the issue.
Upvotes: 1