diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-01-21 17:32:43 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-01-21 17:32:43 +0700 |
commit | 31dcce4812a6aac8dc4980c1c4e392477748a70f (patch) | |
tree | af81ff9bd1460cbbff5fe34efc59fa2e8f1a9a19 /src/formbox.py | |
parent | 252a1b9488d7cd22a4b965d47f9e332607ec5b55 (diff) | |
download | formbox-0.4.0.tar.gz |
Expose the original RFC 822 date 0.4.0
Diffstat (limited to 'src/formbox.py')
-rwxr-xr-x | src/formbox.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/formbox.py b/src/formbox.py index 2136a0c..0be3093 100755 --- a/src/formbox.py +++ b/src/formbox.py @@ -78,9 +78,9 @@ def render(template, archive, parent): author = ' '.join(decode(self['From'])).rsplit(maxsplit=1)[0] rendered_children = render(template, archive, message_id) yield template.format(in_reply_to=quote(parent), - message_id=quote(message_id), + message_id=quote(message_id), author=author, mailto_params=urlencode(dict(reply_to(self))), - date=date(self).isoformat(), author=author, + date=date(self).isoformat(), rfc822=self['Date'], body=body, children='\n'.join(rendered_children)) |