about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/formbox.py4
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))