diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-21 03:31:49 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-21 03:31:49 +0000 |
commit | 194aa046ca080c386ca72a82b6796f51d2eb56d9 (patch) | |
tree | ce9ed37227945da64ee7308aa5e9f3361d129500 | |
parent | b05ffdc3bdfe57d61dc6258b81a820d48a490b6c (diff) | |
download | mandoc-194aa046ca080c386ca72a82b6796f51d2eb56d9.tar.gz mandoc-194aa046ca080c386ca72a82b6796f51d2eb56d9.tar.zst mandoc-194aa046ca080c386ca72a82b6796f51d2eb56d9.zip |
Fixed strftime stray %d -> %e (pointed out by Ulrich Sporlein).
-rw-r--r-- | man_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.41 2009/10/18 19:17:14 kristaps Exp $ */ +/* $Id: man_term.c,v 1.42 2009/10/21 03:31:49 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -914,7 +914,7 @@ print_foot(struct termp *p, const struct man_meta *meta) tm = localtime(&meta->date); - if (0 == strftime(buf, p->rmargin, "%B %d, %Y", tm)) + if (0 == strftime(buf, p->rmargin, "%B %e, %Y", tm)) (void)strlcpy(buf, "(invalid date)", BUFSIZ); term_vspace(p); |