version 1.42, 2009/10/21 03:31:49 |
version 1.43, 2009/10/22 18:55:32 |
Line 909 print_body(DECL_ARGS) |
|
Line 909 print_body(DECL_ARGS) |
|
static void |
static void |
print_foot(struct termp *p, const struct man_meta *meta) |
print_foot(struct termp *p, const struct man_meta *meta) |
{ |
{ |
struct tm *tm; |
char buf[DATESIZ]; |
char buf[BUFSIZ]; |
|
|
|
tm = localtime(&meta->date); |
time2a(meta->date, buf, DATESIZ); |
|
|
if (0 == strftime(buf, p->rmargin, "%B %e, %Y", tm)) |
|
(void)strlcpy(buf, "(invalid date)", BUFSIZ); |
|
|
|
term_vspace(p); |
term_vspace(p); |
|
|