mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
filename changes: don't include time.
This commit is contained in:
parent
f51207fc32
commit
0d8688515c
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ class Document(models.Model):
|
|||
ordering = ("correspondent", "title")
|
||||
|
||||
def __str__(self):
|
||||
created = self.created.strftime("%Y%m%d%H%M%S")
|
||||
created = self.created.strftime("%Y%m%d")
|
||||
if self.correspondent and self.title:
|
||||
return "{}: {} - {}".format(
|
||||
created, self.correspondent, self.title)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue