mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 02:57:09 +01:00
Chore: add pre-commit hook for codespell (#5324)
This commit is contained in:
parent
58bf9c552b
commit
f525ac0af6
33 changed files with 60 additions and 53 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue