#12666: Setting for sending email using localtime instead of UTC
------------------------------+---------------------------------------------
Reporter: net147 | Owner: nobody
Status: new | Milestone:
Component: django.core.mail | Version: 1.1
Keywords: | Stage: Unreviewed
Has_patch: 0 |
------------------------------+---------------------------------------------
I would like to be able to send emails using local time in the Date header
instead of UTC by default.
Changes needed (based on Django 1.1.1):
* django/conf/global_settings.py:
* Add "EMAIL_USE_LOCALTIME = False" (won't sent using local time by
default unless you explicitly enable it)
* django/core/mail.py:
* Change "msg['Date'] = formatdate()" to "msg['Date'] =
formatdate(localtime=settings.EMAIL_USE_LOCALTIME)"
--
Ticket URL: <http://code.djangoproject.com/ticket/12666>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.