Fix Time Zone Name (when not using city names)

This commit is contained in:
2020-04-20 15:42:42 +02:00
parent 7ba9243fa1
commit dc570f883b
2 changed files with 6 additions and 3 deletions

View File

@@ -95,6 +95,6 @@ class Email extends PhpObject {
}
private static function getTimeZoneCity($sTimeZone) {
return (strpos($sTimeZone, '/')!==false)?str_replace('_', ' ', explode('/', $sTimeZone)[1]):'';
return (strpos($sTimeZone, '/')!==false)?str_replace('_', ' ', explode('/', $sTimeZone)[1]):$sTimeZone;
}
}