Skip to content

Commit 39fdb66

Browse files
JAMSUPREMEmattbaileyuk
authored andcommittedNov 2, 2021
Remove garbage
1 parent b0ddadd commit 39fdb66

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed
 

‎src/datetime.js

-7
Original file line numberDiff line numberDiff line change
@@ -1026,15 +1026,8 @@ const dateTime = (function () {
10261026
return res;
10271027
});
10281028
} 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
10321029
matcher.type = 'integer';
10331030
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
10381031
const occurrences = formatSpec.n && formatSpec.n > 1 ? `{${formatSpec.n}}` : '+';
10391032
switch (formatSpec.primary) {
10401033
case formats.LETTERS:

0 commit comments

Comments
 (0)
Please sign in to comment.