mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-14 00:26:21 +00:00
Fix: created date fixes in v2.16 (#10026)
This commit is contained in:
@@ -215,7 +215,7 @@ class Document(SoftDeleteModel, ModelWithOwner):
|
||||
|
||||
created = models.DateField(
|
||||
_("created"),
|
||||
default=datetime.datetime.today,
|
||||
default=datetime.date.today,
|
||||
db_index=True,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user