You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got a woraround, looking like this:
date_default_timezone_set(date_default_timezone_get());
Worked fine in early 5.3 Versions... (also still works for me). But more and more Users are experiencing this problem...
Still not sure if I should do more Workarround, as the only proper solution is to set timezone in php.ini...
(Also I still do not see why it is not safe to rely on the system settings... better than relying on nothing and causing PHP-Developers to vomit...)
I'll think about what i'm doing and am going back on this later...
Since 5.3 PHP claims warnings if no script timezone is set because it is not safe to rely on system settings.
You should add something like:
date_default_timezone_set('Europe/Berlin');
to the configuratiion
The text was updated successfully, but these errors were encountered: