fix infinite recursion when checking for Windows timezones without "Standard Time" prefix

This commit is contained in:
ralf 2024-06-13 20:19:23 +02:00
parent b493063e40
commit b2d3d6fced

View File

@ -114,7 +114,7 @@ class calendar_timezones
}
}
// check for a Windows timezone without "Standard Time" postfix
if (!isset($id) && strpos($tzid, '/') === false)
if (!isset($id) && stripos($tzid, ' Standard Time') === false)
{
$id = self::tz2id($tzid.' Standard Time');
}