summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/man_html.c b/man_html.c
index cfcc83d6..84ec64c6 100644
--- a/man_html.c
+++ b/man_html.c
@@ -308,7 +308,10 @@ man_root_post(MAN_ARGS)
struct tag *t, *tt;
char b[DATESIZ];
- time2a(m->date, b, DATESIZ);
+ if (m->rawdate)
+ strlcpy(b, m->rawdate, DATESIZ);
+ else
+ time2a(m->date, b, DATESIZ);
PAIR_CLASS_INIT(&tag[0], "footer");
bufcat_style(h, "width", "100%");