diff options
author | Jim Meyering <jim@meyering.net> | 2005-08-17 19:55:57 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-08-17 19:55:57 +0000 |
commit | 147d65828a6b965841295a21091f19f4bed6be0f (patch) | |
tree | 262dbca0edb8566675cf25f7356adf46a80af1b3 | |
parent | cb3da21f16309f23b7c2a6010b85e7c6d00ef489 (diff) | |
download | coreutils-147d65828a6b965841295a21091f19f4bed6be0f.tar.xz |
*** empty log message ***
-rw-r--r-- | lib/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 52dfca314..ad62d0893 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,13 @@ +2005-08-17 Jim Meyering <jim@meyering.net> + + 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 <jim@meyering.net> * getdate.y (get_date): Undo part of the 2005-04-04 change, so that |