Changes between Initial Version and Version 1 of Ticket #12666, comment 11


Ignore:
Timestamp:
Nov 28, 2011, 3:35:39 AM (12 years ago)
Author:
Aymeric Augustin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12666, comment 11

    initial v1  
    11In django/core/mail/message.py (Django 1.3.1)
     2{{{
    23msg['Date'] = formatdate()
     4}}}
    35
    4 There is no localtime=True and emails are sending using UTC
     6There is no `localtime=True` and emails are sending using UTC
    57When I correct django/core/mail/message.py to
     8{{{
    69msg['Date'] = formatdate(localtime=True)
     10}}}
     11Then emails are being sent with correct Date header (using local time with timezone)
    712
    8 Then emails are being sent with correct Date header (using local time with timezone)
     13''EDIT(aaugustin): fixed formatting''
Back to Top