mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 09:37:04 +01:00
Change: treat created as date not datetime (#9793)
This commit is contained in:
parent
ce5d4e9c92
commit
1a6f32534c
18 changed files with 228 additions and 128 deletions
|
|
@ -721,7 +721,7 @@ class TestDocumentSearchApi(DirectoriesMixin, APITestCase):
|
|||
d3.tags.add(t2)
|
||||
d4 = Document.objects.create(
|
||||
checksum="4",
|
||||
created=timezone.make_aware(datetime.datetime(2020, 7, 13)),
|
||||
created=datetime.date(2020, 7, 13),
|
||||
content="test",
|
||||
original_filename="doc4.pdf",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue