Chore: add pre-commit hook for codespell (#5324)

This commit is contained in:
shamoon
2024-01-08 13:03:05 -08:00
committed by GitHub
parent 97f4690236
commit f52ba29baf
33 changed files with 60 additions and 53 deletions

View File

@@ -53,7 +53,7 @@ export class LocalizedDateParserFormatter extends NgbDateParserFormatter {
if (this.separatorRegExp.test(value)) {
let segments = value.split(this.separatorRegExp)
// always accept strict yyyy*mm*dd format even if thats not the input format since we can be certain its not yyyy*dd*mm
// always accept strict yyyy*mm*dd format even if that's not the input format since we can be certain its not yyyy*dd*mm
if (
value.length == 10 &&
segments.length == 3 &&