CodeIgniter Forums

Full Version: Different timezone between browser
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

Chrome and Firefox the session stays as greenwich time (0h), it's not the timezone of CI4 and PHP. But in the session in Safari is correct, Sao Paulo time (-3h).

CI4:
public $appTimezone = 'America/Sao_Paulo';

php.ini:
date.timezone = America/Sao_Paulo