From 194aa046ca080c386ca72a82b6796f51d2eb56d9 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 21 Oct 2009 03:31:49 +0000 Subject: Fixed strftime stray %d -> %e (pointed out by Ulrich Sporlein). --- man_term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man_term.c') 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 * @@ -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); -- cgit v1.2.3