diff options
author | Barry Warsaw <barry@python.org> | 2001-11-09 16:59:56 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-11-09 16:59:56 (GMT) |
commit | aa79f4d492abd5b979e740520e95fcb717793061 (patch) | |
tree | 7ef8f810c4b7428fa05d45a061ca9e645a12e661 /Doc | |
parent | 3e77423a641e1331f8e0724328c3385a6a455ce1 (diff) | |
download | cpython-aa79f4d492abd5b979e740520e95fcb717793061.zip cpython-aa79f4d492abd5b979e740520e95fcb717793061.tar.gz cpython-aa79f4d492abd5b979e740520e95fcb717793061.tar.bz2 |
formatdate(): An implementation to replace the one borrowed from
rfc822.py. The old rfc822.formatdate() produced date strings using
obsolete syntax. The new version produces the preferred RFC 2822
dates.
Also, an optional argument `localtime' is added, which if true,
produces a date relative to the local timezone, with daylight savings
time properly taken into account.
Diffstat (limited to 'Doc')
0 files changed, 0 insertions, 0 deletions