mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
fix stall, if no/wrong user timezone set in prefs
This commit is contained in:
parent
2f4d0cd85a
commit
230b27bc8a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user