File tree 1 file changed +0
-7
lines changed
1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -1026,15 +1026,8 @@ const dateTime = (function () {
1026
1026
return res ;
1027
1027
} ) ;
1028
1028
} else { // type === 'integer'
1029
- // MYTODO
1030
- // It seems that _formatInteger accounts for mandatoryDigits but here it does not
1031
- // Note, syntax based on https://www.w3.org/TR/xpath-functions-31/#date-time-examples
1032
1029
matcher . type = 'integer' ;
1033
1030
const isUpper = formatSpec . case === tcase . UPPER ;
1034
- // const mandatoryDigits = formatSpec.mandatoryDigits && formatSpec.mandatoryDigits > 0 ? formatSpec.mandatoryDigits : 0;
1035
- // const optionalDigits = formatSpec.optionalDigits && formatSpec.optionalDigits > 0 ? formatSpec.optionalDigits : 0;
1036
- // const totalDigits = mandatoryDigits + optionalDigits;
1037
- // eslint-disable-next-line no-unused-vars
1038
1031
const occurrences = formatSpec . n && formatSpec . n > 1 ? `{${ formatSpec . n } }` : '+' ;
1039
1032
switch ( formatSpec . primary ) {
1040
1033
case formats . LETTERS :
You can’t perform that action at this time.
0 commit comments