Skip to content

Commit f9006ff

Browse files
author
Roman Lytvynenko
committed
MC-36978: Invalid Character Customer Account Create DOB
1 parent 9bc9bd7 commit f9006ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/utils/misc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ define([
282282
var newFormat;
283283

284284
newFormat = format.replace(/yyyy|yy|y/, 'YYYY'); // replace the year
285-
newFormat = newFormat.replace(/dd|d/g, 'DD'); // replace the date
285+
newFormat = newFormat.replace(/dd|d/g, 'D'); // replace the date
286286

287287
return newFormat;
288288
},

0 commit comments

Comments
 (0)