diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-07-06 06:15:44 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-07-06 06:15:44 +0000 |
commit | 5e8e7af348a6ba4d1774c8ae247f92e20ce9a6b9 (patch) | |
tree | d5f5714ec0e4527aaca02a7529e96d973710a730 /usr.bin/stat | |
parent | 5c021049f05fe2d2b2e40b7b0b031f669427b204 (diff) | |
download | src-test-5e8e7af348a6ba4d1774c8ae247f92e20ce9a6b9.tar.gz src-test-5e8e7af348a6ba4d1774c8ae247f92e20ce9a6b9.zip |
Use %e instead of %d with x_output_date(..)
stat -x doesn't 0-fill days so %d is inappropriate. %e is correct.
MFC after: 1 week
MFC with: r319841
Notes
Notes:
svn path=/head/; revision=320723
Diffstat (limited to 'usr.bin/stat')
-rwxr-xr-x | usr.bin/stat/tests/stat_test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/stat/tests/stat_test.sh b/usr.bin/stat/tests/stat_test.sh index 6088b924c0d55..3a8032fd921fa 100755 --- a/usr.bin/stat/tests/stat_test.sh +++ b/usr.bin/stat/tests/stat_test.sh @@ -165,7 +165,7 @@ t_flag_body() x_output_date() { - local date_format='%a %b %d %H:%M:%S %Y' + local date_format='%a %b %e %H:%M:%S %Y' stat -t "$date_format" "$@" } |