Fixes usages of UTC datetime instead of local datetime (#5304)

This commit is contained in:
Trenton H 2024-01-07 13:57:40 -08:00 committed by GitHub
parent 4b00a72ff5
commit 2b39697ffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 (