Skip to content

Commit 13fa125

Browse files
author
Yurii Hryhoriev
committed
MAGETWO-57070: [GitHub] Locale\Format throws away country part, results in wrong number format #5073
1 parent 0aa7656 commit 13fa125

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/internal/Magento/Framework/Locale/Bundle/DataBundle.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ protected function cleanLocale($locale)
6666
if (isset($localeParts['language'])) {
6767
$cleanLocaleParts['language'] = $localeParts['language'];
6868
}
69+
if (isset($localeParts['region'])) {
70+
$cleanLocaleParts['region'] = $localeParts['region'];
71+
}
6972
if (isset($localeParts['script'])) {
7073
$cleanLocaleParts['script'] = $localeParts['script'];
7174
}

0 commit comments

Comments
 (0)