summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-15 08:20:43 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-15 08:20:43 +0000
commit3a4080bf6068a5a3f8ef9bb511bae8cd23063db2 (patch)
tree7b17cdd41b271777c67bca823c599d327613ba5b
parent0a73b8ecc67f8ef65a270d0c20ebe29f454052b8 (diff)
downloadmandoc-3a4080bf6068a5a3f8ef9bb511bae8cd23063db2.tar.gz
mandoc-3a4080bf6068a5a3f8ef9bb511bae8cd23063db2.tar.zst
mandoc-3a4080bf6068a5a3f8ef9bb511bae8cd23063db2.zip
Fix to presentation date (Ulrich Sporlein)
-rw-r--r--mdoc_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 12bea391..8381174b 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.41 2009/07/14 16:03:51 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.42 2009/07/15 08:20:43 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -407,7 +407,7 @@ print_foot(struct termp *p, const struct mdoc_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))
err(1, "strftime");
(void)strlcpy(os, meta->os, p->rmargin);