aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/quote_fmt_parse.y8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/quote_fmt_parse.y b/src/quote_fmt_parse.y
index 15b2359a..336b481a 100644
--- a/src/quote_fmt_parse.y
+++ b/src/quote_fmt_parse.y
@@ -178,8 +178,14 @@ special:
}
| SHOW_DATE
{
- if (msginfo->date)
+ if (msginfo->date) {
INSERT(msginfo->date);
+ } else if (msginfo->size == 0) {
+ gchar buf[64];
+
+ get_rfc822_date(buf, sizeof(buf));
+ INSERT(buf);
+ }
}
| SHOW_FROM
{