Skip to content

Commit 8a71af4

Browse files
Chhandak.BaruaChhandak.Barua
authored andcommitted
ACP2E-362: Invalid date-time format in the admin order grid for French local
1 parent 059137e commit 8a71af4

File tree

1 file changed

+0
-3
lines changed
  • app/code/Magento/Ui/Component/Listing/Columns

1 file changed

+0
-3
lines changed

app/code/Magento/Ui/Component/Listing/Columns/Date.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ public function prepare()
114114
];
115115
if (!isset($config['dateFormat'])) {
116116
$config['dateFormat'] = $this->timezone->getDateTimeFormat(\IntlDateFormatter::MEDIUM);
117-
if ($config['storeLocale'] == 'fr_CA' || $config['storeLocale'] == 'pt_BR') {
118-
$config['dateFormat'] = preg_replace("/([^']*)'([^']+)'([^']*)/", '$1[$2]$3', $config['dateFormat']);
119-
}
120117
}
121118
$this->setData('config', $config);
122119

0 commit comments

Comments
 (0)