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
This commit is contained in:
Enji Cooper 2017-07-06 06:15:44 +00:00
parent 5c021049f0
commit 5e8e7af348
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320723

View file

@ -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" "$@"
}