mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-22 06:26:56 +01:00
Fix: created date fixes in v2.16 (#10026)
This commit is contained in:
parent
eb07876657
commit
59bf25edb1
3 changed files with 46 additions and 9 deletions
|
|
@ -215,7 +215,7 @@ class Document(SoftDeleteModel, ModelWithOwner):
|
|||
|
||||
created = models.DateField(
|
||||
_("created"),
|
||||
default=datetime.datetime.today,
|
||||
default=datetime.date.today,
|
||||
db_index=True,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue