mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 01:26:47 +01:00
Fixes usages of UTC datetime instead of local datetime (#5304)
This commit is contained in:
parent
4b00a72ff5
commit
2b39697ffb
1 changed files with 2 additions and 2 deletions
|
|
@ -579,9 +579,9 @@ def run_workflow(
|
||||||
if document.document_type is not None
|
if document.document_type is not None
|
||||||
else "",
|
else "",
|
||||||
document.owner.username if document.owner is not None else "",
|
document.owner.username if document.owner is not None else "",
|
||||||
document.added,
|
timezone.localtime(document.added),
|
||||||
document.original_filename,
|
document.original_filename,
|
||||||
document.created,
|
timezone.localtime(document.created),
|
||||||
)
|
)
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue