Author: ngie
Date: Thu Jul  6 06:15:44 2017
New Revision: 320723
URL: https://svnweb.freebsd.org/changeset/base/320723

Log:
  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

Modified:
  head/usr.bin/stat/tests/stat_test.sh

Modified: head/usr.bin/stat/tests/stat_test.sh
==============================================================================
--- head/usr.bin/stat/tests/stat_test.sh        Thu Jul  6 05:59:27 2017        
(r320722)
+++ head/usr.bin/stat/tests/stat_test.sh        Thu Jul  6 06:15:44 2017        
(r320723)
@@ -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" "$@"
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to