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 39535f04f1
commit 28fe4b760b

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 (