mirror of
https://github.com/samsonjs/imapbackup.git
synced 2026-04-27 14:57:44 +00:00
Format dates in From lines more like most mail programs do
This commit is contained in:
parent
0b1351717c
commit
d820b7a832
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ def download_messages(server, filename, messages, config):
|
||||||
for msg_id in messages.keys():
|
for msg_id in messages.keys():
|
||||||
# This "From" and the terminating newline below delimit messages
|
# This "From" and the terminating newline below delimit messages
|
||||||
# in mbox files
|
# in mbox files
|
||||||
buf = "From nobody %s\n" % time.strftime('%a %m %d %H:%M:%S %Y')
|
buf = "From nobody %s\n" % time.strftime('%a %b %d %H:%M:%S %Y')
|
||||||
# If this is one of our synthesised Message-IDs, insert it before
|
# If this is one of our synthesised Message-IDs, insert it before
|
||||||
# the other headers
|
# the other headers
|
||||||
if UUID in msg_id:
|
if UUID in msg_id:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue