From 07b49dd252f76ea2e6f994ca2b34c7552e588ce2 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 8 May 1996 00:54:15 +0000 Subject: (fmt_past_time): Suppress leading noise in some formats. --- libshouldbeinlibc/timefmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libshouldbeinlibc') 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[] = -- cgit v1.2.3