ext-calendar icon indicating copy to clipboard operation
ext-calendar copied to clipboard

It is not safe to rely on the system's timezone settings

Open fisharebest opened this issue 10 years ago • 0 comments

The timestamp functions must (by definition) use the local timezone.

But if it is not defined in php.ini then calls to date() and date_default_timezone_get() trigger a PHP warning.

Since the native versions of easter_date() and jdtounixtime() do not give these warnings, we shouldn't either.

fisharebest avatar Sep 10 '14 13:09 fisharebest