Skip to content

Commit 8ee89af

Browse files
Using MEDIUM size for dates in format so it doesn't lose anymore reference in 2099.
1 parent 6e80158 commit 8ee89af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Stdlib/DateTime/Timezone.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ private function appendTimeIfNeeded($date, $includeTime, $timezone, $locale)
362362

363363
$formatterWithoutHour = new \IntlDateFormatter(
364364
$locale,
365-
\IntlDateFormatter::SHORT,
365+
\IntlDateFormatter::MEDIUM,
366366
\IntlDateFormatter::NONE,
367367
new \DateTimeZone($timezone)
368368
);
@@ -379,7 +379,7 @@ private function appendTimeIfNeeded($date, $includeTime, $timezone, $locale)
379379

380380
$formatterWithHour = new \IntlDateFormatter(
381381
$locale,
382-
\IntlDateFormatter::SHORT,
382+
\IntlDateFormatter::MEDIUM,
383383
\IntlDateFormatter::SHORT,
384384
new \DateTimeZone($timezone)
385385
);

0 commit comments

Comments
 (0)