GNU bug report logs - #40586
date and '%-N' does not appear to remove leading zeros anymore, but trailing zeros.

Previous Next

Package: coreutils;

Reported by: Drake Jacovian <gnu.org <at> infernalbeast.com>

Date: Sun, 12 Apr 2020 22:08:02 UTC

Severity: normal

Full log


Message #8 received at 40586 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Drake Jacovian <gnu.org <at> infernalbeast.com>
Cc: 40586 <at> debbugs.gnu.org
Subject: Re: bug#40586: date and '%-N' does not appear to remove leading zeros
 anymore, but trailing zeros.
Date: Sun, 12 Apr 2020 16:15:09 -0700
On 4/12/20 1:51 PM, Drake Jacovian wrote:
> Obviously, removing trailing zeroes will changes it value.

%-N is intended to be used after a decimal point, so removing trailing zeros 
does not change its value in its intended use.




This bug report was last modified 3 years and 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.