summaryrefslogtreecommitdiffstatshomepage
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
commit194aa046ca080c386ca72a82b6796f51d2eb56d9 (patch)
treece9ed37227945da64ee7308aa5e9f3361d129500
parentb05ffdc3bdfe57d61dc6258b81a820d48a490b6c (diff)
downloadmandoc-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man_term.c b/man_term.c
index ccaea60d..08881f0b 100644
--- a/man_term.c
+++ b/man_term.c
@@ -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);