Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #27729
| From | Helmut Jarausch <jarausch@igpm.rwth-aachen.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Python3.3 email policy date field |
| Date | 2012-08-23 12:30 +0000 |
| Message-ID | <a9mm3cF896U2@mid.dfncis.de> (permalink) |
| References | <a9m80dF896U1@mid.dfncis.de> <mailman.3712.1345721756.4697.python-list@python.org> |
On Thu, 23 Aug 2012 12:36:01 +0100, MRAB wrote: > From what I've tried, it looks like the date can't be a string: > > >>> m['Date'] = datetime.datetime.utcnow() > >>> m['Date'] > 'Thu, 23 Aug 2012 11:33:20 -0000' Many thanks - it's even easier! Waiting for Python 3.3 to become standard! Helmut.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Python3.3 email policy date field Helmut Jarausch <jarausch@igpm.rwth-aachen.de> - 2012-08-23 08:30 +0000
Re: Python3.3 email policy date field MRAB <python@mrabarnett.plus.com> - 2012-08-23 12:36 +0100
Re: Python3.3 email policy date field Helmut Jarausch <jarausch@igpm.rwth-aachen.de> - 2012-08-23 12:30 +0000
csiph-web