Skip to content

Commit c1315b9

Browse files
authored
Merge branch 'master' into bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer
2 parents ce13f0f + 75e5a08 commit c1315b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework/helpers/BaseFormatConverter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public static function convertDateIcuToPhp($pattern, $type = 'date', $locale = n
103103
{
104104
if (isset(self::$_icuShortFormats[$pattern])) {
105105
if (extension_loaded('intl')) {
106-
$pattern = static::createFormatter($locale, $type, $pattern);
106+
$pattern = self::createFormatter($locale, $type, $pattern);
107107
} else {
108108
return static::$phpFallbackDatePatterns[$pattern][$type];
109109
}
@@ -347,7 +347,7 @@ public static function convertDateIcuToJui($pattern, $type = 'date', $locale = n
347347
{
348348
if (isset(self::$_icuShortFormats[$pattern])) {
349349
if (extension_loaded('intl')) {
350-
$pattern = static::createFormatter($locale, $type, $pattern);
350+
$pattern = self::createFormatter($locale, $type, $pattern);
351351
} else {
352352
return static::$juiFallbackDatePatterns[$pattern][$type];
353353
}

0 commit comments

Comments
 (0)