mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Simplify i18nFormat
This commit is contained in:
parent
009d69b3f7
commit
c855ef874b
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue