summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-08 00:54:15 +0000
committerMiles Bader <miles@gnu.org>1996-05-08 00:54:15 +0000
commit07b49dd252f76ea2e6f994ca2b34c7552e588ce2 (patch)
treedcbf0b8e13678dbeeb4a782df7f6d154a02669cd
parent9b554e3e2b5dbaab46f69874287c10f3f03ad5e3 (diff)
(fmt_past_time): Suppress leading noise in some formats.
-rw-r--r--libshouldbeinlibc/timefmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libshouldbeinlibc/timefmt.c b/libshouldbeinlibc/timefmt.c
index ade1e6c6..89440ca2 100644
--- a/libshouldbeinlibc/timefmt.c
+++ b/libshouldbeinlibc/timefmt.c
@@ -248,7 +248,7 @@ size_t
fmt_past_time (struct timeval *tv, struct timeval *now,
size_t width, char *buf, size_t buf_len)
{
- static char *time_fmts[] = { "%-r", "%l:%M%p", "%l%p", 0 };
+ static char *time_fmts[] = { "%-r", "%-lf:%M%p", "%-l%p", 0 };
static char *week_fmts[] = { "%A,", "%a,", "%a", 0 };
static char *month_fmts[] = { "%A, %-d", "%a, %-d", "%a %-d", "%a%-d", 0 };
static char *date_fmts[] =