We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2630bf commit c639846Copy full SHA for c639846
packages/validation/src/se.ts
@@ -133,7 +133,7 @@ export function validateNationalIdentityNumber(
133
return false;
134
}
135
136
- // when verifying the value, we must always use the short format, discaring the century
+ // when verifying the value, we must always use the short format, discarding the century
137
// if we include the century it would generate a different checksum
138
const isValid = mod10(`${yearStr}${monthStr}${dayStr}${rest}`);
139
if (!isValid) {
0 commit comments