debian: send the Date header of emails in the local time zone (#28775)

This commit is contained in:
Frédéric Péters 2018-12-08 12:04:13 +01:00
parent d5c267f4ed
commit 7bd28f8967
1 changed files with 4 additions and 0 deletions

View File

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