Skip to content

Commit

Permalink
MAGETWO-57070: [GitHub] Locale\Format throws away country part, resul…
Browse files Browse the repository at this point in the history
…ts in wrong number format #5073
  • Loading branch information
Yurii Hryhoriev committed Jun 13, 2017
1 parent 0aa7656 commit 13fa125
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/Locale/Bundle/DataBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ protected function cleanLocale($locale)
if (isset($localeParts['language'])) {
$cleanLocaleParts['language'] = $localeParts['language'];
}
if (isset($localeParts['region'])) {
$cleanLocaleParts['region'] = $localeParts['region'];
}
if (isset($localeParts['script'])) {
$cleanLocaleParts['script'] = $localeParts['script'];
}
Expand Down

0 comments on commit 13fa125

Please sign in to comment.