bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29589: date %k adds extra space for single digits hours


From: Noam Arad
Subject: bug#29589: date %k adds extra space for single digits hours
Date: Wed, 6 Dec 2017 09:17:12 +0000

When using date command with the format %k if the hour is single digits there 
is an extra space added.
E.g.: date -u +"%Y/%m/%d %k:%M:%S" when run at "2017/12/06 9:16:26" will give 
the output "2017/12/06  9:16:26"
NOTE: there are two spaces between "06" and "9".

Thanks


reply via email to

[Prev in Thread] Current Thread [Next in Thread]