summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-21 03:31:49 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-21 03:31:49 +0000
commit62e097ec8eaf4a9919849a5dee21154a3e3f55a7 (patch)
tree75dca0027063cdc0e9ecd7f56ca50569df0fa708
parenta21f689c7d038991e7e1e4c6bd124879a4c0999f (diff)
downloadmandoc-62e097ec8eaf4a9919849a5dee21154a3e3f55a7.tar.gz
Fixed strftime stray %d -> %e (pointed out by Ulrich Sporlein).
-rw-r--r--man_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man_term.c b/man_term.c
index 11d15c3c..188c9f1c 100644
--- a/man_term.c
+++ b/man_term.c
@@ -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);