mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 02:57:09 +01:00
Handle very old date strings in correspondent list
This commit is contained in:
parent
b961df90a7
commit
421e78a748
4 changed files with 39 additions and 8 deletions
|
|
@ -668,7 +668,7 @@ describe('DocumentDetailComponent', () => {
|
|||
const object = {
|
||||
id: 22,
|
||||
name: 'Correspondent22',
|
||||
last_correspondence: new Date(),
|
||||
last_correspondence: new Date().toISOString(),
|
||||
} as PaperlessCorrespondent
|
||||
const qfSpy = jest.spyOn(documentListViewService, 'quickFilter')
|
||||
component.filterDocuments([object])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue