Merge pull request #957 from paperless-ngx/feature-created-date

Feature: make frontend timezone un-aware
This commit is contained in:
shamoon
2022-07-02 16:58:30 -07:00
committed by GitHub
16 changed files with 60 additions and 75 deletions

View File

@@ -306,6 +306,10 @@ class Document(models.Model):
def thumbnail_file(self):
return open(self.thumbnail_path, "rb")
@property
def created_date(self):
return timezone.localdate(self.created)
class Log(models.Model):