#12666: Setting for sending email using localtime instead of UTC
-----------------------------+------------------------------------
     Reporter:  net147       |                    Owner:  aisipos
         Type:  New feature  |                   Status:  assigned
    Component:  Core (Mail)  |                  Version:  1.1
     Severity:  Normal       |               Resolution:
     Keywords:               |             Triage Stage:  Accepted
    Has patch:  0            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  1            |                    UI/UX:  0
-----------------------------+------------------------------------

Comment (by carljm):

 I'm not convinced of the value of the refactoring proposed in
 https://code.djangoproject.com/ticket/12666#comment:9 -- if someone really
 wants some strange handling for the Date header, they can just set the
 header themselves, which is likely easier than subclassing `Email` for
 this purpose. Exposing the stdlib's `localtime` boolean flag is a simple
 change which would be friendlier to those who want a local timezone in
 their email headers, especially if it actually does respect the currently
 active Django timezone (e.g. `TIME_ZONE` setting). (It's not clear to me
 from the above whether it does or not; that deserves clarification.)

--
Ticket URL: <https://code.djangoproject.com/ticket/12666#comment:16>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.ed9184991c6a73846a2fed37aacd66f8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to