Skip to content

Commit 3e0e4e2

Browse files
committed
MC-17269: Date format grid is not based on the locale defined in the back-office
1 parent 5fa1029 commit 3e0e4e2

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/grid/columns

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/grid/columns/date.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ define([
3939
*/
4040
getLabel: function (value, format) {
4141
if (this.storeLocale !== undefined) {
42-
moment.locale(this.storeLocale, {...this.calendarConfig});
42+
moment.locale(this.storeLocale, utils.extend({}, this.calendarConfig));
4343
}
4444
var date = moment(this._super());
4545

0 commit comments

Comments
 (0)