fix stall, if no/wrong user timezone set in prefs

This commit is contained in:
ralf 2023-05-17 10:02:49 +02:00
parent 2f4d0cd85a
commit 230b27bc8a

View File

@ -575,7 +575,7 @@ class DateTime extends \DateTime
try {
self::$user_timezone = new DateTimeZone($tz);
}
catch(\Exception $e)
catch(\Throwable $e)
{
unset($e);
// silently use server timezone, as we have no means to report the wrong timezone to the user from this class