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

2017-12-06 Thread Noam Arad
Thanks for the quick reply. Will use your suggestions. Noam From: Bishop Bettini [mailto:bishop.bett...@gmail.com] Sent: Wednesday, December 6, 2017 6:49 PM To: Noam Arad Cc: 29...@debbugs.gnu.org Subject: Re: bug#29589: date %k adds extra space for single digits hours On Wed, Dec 6, 2017 at 4:

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

2017-12-06 Thread Bishop Bettini
On Wed, Dec 6, 2017 at 4:17 AM, Noam Arad wrote: > 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 spac

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

2017-12-06 Thread Noam Arad
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