We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45fda91 commit b638e13Copy full SHA for b638e13
src/utils/utils.js
@@ -803,8 +803,10 @@ export function convertFormatToMask(format) {
803
.replace(/M{3}/g, '***')
804
// Short month conversion if input as text.
805
.replace(/e/g, 'Q')
806
+ // Month number conversion.
807
+ .replace(/W/g, '99')
808
// Year conversion.
- .replace(/[ydhmsHMG]/g, '9')
809
+ .replace(/[ydhmswHMG]/g, '9')
810
// AM/PM conversion.
811
.replace(/a/g, 'AA');
812
}
0 commit comments