Skip to content

Commit c639846

Browse files
Update packages/validation/src/se.ts
Co-authored-by: Oscar Carlström <[email protected]>
1 parent b2630bf commit c639846

File tree

1 file changed

+1
-1
lines changed
  • packages/validation/src

1 file changed

+1
-1
lines changed

packages/validation/src/se.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export function validateNationalIdentityNumber(
133133
return false;
134134
}
135135

136-
// when verifying the value, we must always use the short format, discaring the century
136+
// when verifying the value, we must always use the short format, discarding the century
137137
// if we include the century it would generate a different checksum
138138
const isValid = mod10(`${yearStr}${monthStr}${dayStr}${rest}`);
139139
if (!isValid) {

0 commit comments

Comments
 (0)