From: Jim Meyering Date: Wed, 17 Aug 2005 19:55:57 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v5.90~372 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=147d65828a6b965841295a21091f19f4bed6be0f;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 52dfca314e..ad62d08935 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-13 Jim Meyering * getdate.y (get_date): Undo part of the 2005-04-04 change, so that