Mercurial > hg > octave-lyh > gnulib-hg
changeset 6063:12f61def36ee
*** empty log message ***
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Fri, 19 Aug 2005 09:22:04 +0000 |
parents | af9525e258c2 |
children | 199c20f568d7 |
files | lib/ChangeLog |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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-17 Bruno Haible <bruno@clisp.org> * strcasestr.h: New file.