From 7bd28f8967e9b057f570dc06ca2dbb63e63fe812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 8 Dec 2018 12:04:13 +0100 Subject: [PATCH] debian: send the Date header of emails in the local time zone (#28775) --- debian/debian_config_common.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/debian_config_common.py b/debian/debian_config_common.py index 685898f..4c4e744 100644 --- a/debian/debian_config_common.py +++ b/debian/debian_config_common.py @@ -30,6 +30,10 @@ EMAIL_SUBJECT_PREFIX = '' # by setting their timeout value to 10 seconds. EMAIL_TIMEOUT = 10.0 +# send the SMTP Date header of email messages in the local time zone +# (since Django 1.11) +EMAIL_USE_LOCALTIME = True + # For high availability installations with multiple instances of Publik # components, one should disable cron jobs execution on secondary servers; # set the following variable True disables all tenant_commands launched with -- 2.20.0.rc2