A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix: one more february relative date fix
shamoondcd50d53596e
diff --git a/src-ui/src/app/pipes/custom-date.pipe.spec.ts b/src-ui/src/app/pipes/custom-date.pipe.spec.tsindex c8a0e8749..ebe480f08 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,8 @@ describe('CustomDatePipe', () => {if (now.getMonth() === 0) {notNow.setFullYear(now.getFullYear() - 1)}- expect(['Last month', '4 weeks ago']).toContain(+ // weird options are for february...+ expect(['Last month', '4 weeks ago', '3 weeks ago']).toContain(datePipe.transform(notNow, 'relative'))expect(datePipe.transform(now, 'relative')).toEqual('Just now')