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

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

No files matched your search

+4
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):