CodeIgniter Forums
Different timezone between browser - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forum-31.html)
+--- Thread: Different timezone between browser (/thread-73159.html)



Different timezone between browser - edica - 03-25-2019

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