]> git.ipfire.org Git - thirdparty/coreutils.git/commit
date: fix newly-introduced %%-N bug
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 5 Mar 2022 19:23:01 +0000 (11:23 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 5 Mar 2022 19:23:38 +0000 (11:23 -0800)
commit4306bb6246d4bdf02c2f8bcfa4e78ef6539ed0bf
tree16b6e642a95d66e7f7291677b6d729b1d60b6967
parent8f31074cb4c9b023ef0aa47a0ce34c92745169b6
date: fix newly-introduced %%-N bug

* src/date.c (adjust_resolution): Don’t mishandle %%-N.
* tests/misc/date.pl (pct-pct): New test.
src/date.c
tests/misc/date.pl