From af3e42e54ffeeb70b156fa25ebf784e4fbe7d804 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 19 Aug 2005 09:22:04 +0000 Subject: [PATCH] *** empty log message *** --- lib/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/ChangeLog b/lib/ChangeLog index 2de8390df0..60a56d6042 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,13 @@ +2005-08-17 Jim Meyering + + Make the %s format (seconds since the epoch) work for a negative + number and when used with a zero-padded field width, e.g. %015s. + + * strftime.c (my_strftime): Move the `do_number_sign_and_padding' + label so that it precedes the code to set `digits'. Otherwise, + %0Ns wouldn't work. Before this change, `date -d @-22 +%05s' would + print `00-22'. Now, it prints `-0022', as it should. + 2005-08-17 Bruno Haible * strcasestr.h: New file. -- 2.30.2