mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-03 05:25:37 +00:00
Chore: add pre-commit hook for codespell (#5324)
This commit is contained in:
1 parent
58bf9c552b
commit
f525ac0af6
33 files changed
+60
-53
No files matched your search
@@ -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 &&
|
||||
|
||||
Reference in new issue
Block a user