4 | | * django/conf/global_settings.py: |
5 | | * Add "EMAIL_USE_LOCALTIME = False" (won't sent using local time by default unless you explicitly enable it) |
6 | | * django/core/mail.py: |
7 | | * Change "msg['Date'] = formatdate()" to "msg['Date'] = formatdate(localtime=settings.EMAIL_USE_LOCALTIME)" |
| 4 | * `django/conf/global_settings.py`: |
| 5 | * Add `"EMAIL_USE_LOCALTIME = False"` (won't sent using local time by default unless you explicitly enable it) |
| 6 | * `django/core/mail.py`: |
| 7 | * Change `"msg['Date'] = formatdate()"` to `"msg['Date'] = formatdate(localtime=settings.EMAIL_USE_LOCALTIME)"` |