GNU bug report logs - #72023
feature request for date(1): strptime-style format string when you don't want date to guess

Previous Next

Package: coreutils;

Reported by: <mark.yagnatinsky <at> barclays.com>

Date: Wed, 10 Jul 2024 02:20:01 UTC

Severity: wishlist

Full log


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: mark.yagnatinsky <at> barclays.com, 72023 <at> debbugs.gnu.org
Subject: Re: bug#72023: feature request for date(1): strptime-style format
 string when you don't want date to guess
Date: Wed, 10 Jul 2024 14:56:36 +0200
On 7/10/24 13:59, mark.yagnatinsky--- via GNU coreutils Bug Reports wrote:
> BSD date has this flag

Unfortunately it uses -f for the flag, and -f already has a 
well-established different meaning in GNU 'date'. We could add it to GNU 
date under a different (long) option name, though we'd still be 
incompatible with BSD 'date'.

Again, if someone wants to write the code and (just as important) 
documentation, and also the tests, go for it. I tend to think strptime 
is a mistake, so I'm not likely to volunteer.




This bug report was last modified 279 days ago.

Previous Next


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