mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 18:08:02 +02: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 {
|
try {
|
||||||
self::$user_timezone = new DateTimeZone($tz);
|
self::$user_timezone = new DateTimeZone($tz);
|
||||||
}
|
}
|
||||||
catch(\Exception $e)
|
catch(\Throwable $e)
|
||||||
{
|
{
|
||||||
unset($e);
|
unset($e);
|
||||||
// silently use server timezone, as we have no means to report the wrong timezone to the user from this class
|
// silently use server timezone, as we have no means to report the wrong timezone to the user from this class
|
||||||
|
Loading…
x
Reference in New Issue
Block a user