diff options
author | Miles Bader <miles@gnu.org> | 1996-05-08 00:54:15 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-05-08 00:54:15 +0000 |
commit | 07b49dd252f76ea2e6f994ca2b34c7552e588ce2 (patch) | |
tree | dcbf0b8e13678dbeeb4a782df7f6d154a02669cd | |
parent | 9b554e3e2b5dbaab46f69874287c10f3f03ad5e3 (diff) |
(fmt_past_time): Suppress leading noise in some formats.
-rw-r--r-- | libshouldbeinlibc/timefmt.c | 2 |
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[] = |