]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Reapply #5304 fix
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Fri, 12 Jan 2024 21:19:24 +0000 (13:19 -0800)
committerTrenton H <797416+stumpylog@users.noreply.github.com>
Fri, 12 Jan 2024 21:19:24 +0000 (13:19 -0800)
src/documents/signals/handlers.py

index eee06bb6eac88ca22cec951ba40df92b50097366..0315fa9b29239456b04831749116f9255dc8e63b 100644 (file)
@@ -582,9 +582,9 @@ def run_workflow(
                             document.owner.username
                             if document.owner is not None
                             else "",
-                            document.added,
+                            timezone.localtime(document.added),
                             document.original_filename,
-                            document.created,
+                            timezone.localtime(document.created),
                         )
                     except Exception:
                         logger.exception(