Skip to content

Commit aa67789

Browse files
Chhandak.BaruaChhandak.Barua
authored andcommitted
ACP2E-362: Invalid date-time format in the admin order grid for French local
1 parent 331f351 commit aa67789

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/web/mage/utils/misc.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,8 @@ define([
9393
var result = mageFormat;
9494

9595
_.each(map, function (moment, mage) {
96-
result = result.replace(
97-
new RegExp(`${mage}(?=([^']*'[^']*')*[^']*$)`),
98-
moment
99-
);
96+
result = result.replace(mage, moment);
10097
});
101-
result = result.replace(/'(.*?)'/g, '[$1]');
10298

10399
return result;
104100
},

0 commit comments

Comments
 (0)