A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix: fix date pipe test for day after February
shamoonbc90ccc5551f
diff --git a/src-ui/src/app/pipes/custom-date.pipe.spec.ts b/src-ui/src/app/pipes/custom-date.pipe.spec.tsindex aef722cf9..c8a0e8749 100644--- a/src-ui/src/app/pipes/custom-date.pipe.spec.ts+++ b/src-ui/src/app/pipes/custom-date.pipe.spec.ts@@ -45,7 +45,9 @@ describe('CustomDatePipe', () => {if (now.getMonth() === 0) {notNow.setFullYear(now.getFullYear() - 1)}- expect(datePipe.transform(notNow, 'relative')).toEqual('Last month')+ expect(['Last month', '4 weeks ago']).toContain(+ datePipe.transform(notNow, 'relative')+ )expect(datePipe.transform(now, 'relative')).toEqual('Just now')})})