Simplify i18nFormat

This commit is contained in:
bancer 2019-01-25 12:25:26 +01:00
parent 009d69b3f7
commit c855ef874b

View file

@ -1074,9 +1074,7 @@ class CakeTime {
date_default_timezone_set($timezone);
}
$result = static::_strftime(static::convertSpecifiers($format, $timestamp), $timestamp);
if (!empty($serverTimeZone)) {
date_default_timezone_set($serverTimeZone);
}
return $result;
}