Commit [2b5d33] legacy-trunk Maximize Restore History

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.

Barry Warsaw Barry Warsaw 2001-11-09

changed Lib/email/Utils.py
Lib/email/Utils.py Diff Switch to side-by-side view
Loading...