We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a71af4 commit ad7baa3Copy full SHA for ad7baa3
app/code/Magento/Ui/Component/Listing/Columns/Date.php
@@ -114,6 +114,9 @@ public function prepare()
114
];
115
if (!isset($config['dateFormat'])) {
116
$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
+ }
120
}
121
$this->setData('config', $config);
122
0 commit comments