=================================================================== RCS file: /cvs/mandoc/man_term.c,v retrieving revision 1.70 retrieving revision 1.72 diff -u -p -r1.70 -r1.72 --- mandoc/man_term.c 2010/05/17 10:50:32 1.70 +++ mandoc/man_term.c 2010/05/26 14:03:54 1.72 @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.70 2010/05/17 10:50:32 joerg Exp $ */ +/* $Id: man_term.c,v 1.72 2010/05/26 14:03:54 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -26,6 +26,7 @@ #include #include +#include "mandoc.h" #include "out.h" #include "man.h" #include "term.h" @@ -863,7 +864,10 @@ print_man_foot(struct termp *p, const struct man_meta term_fontrepl(p, TERMFONT_NONE); - time2a(meta->date, buf, DATESIZ); + if (meta->rawdate) + strlcpy(buf, meta->rawdate, DATESIZ); + else + time2a(meta->date, buf, DATESIZ); term_vspace(p); term_vspace(p);