GNU bug report logs - #14613
Date -- incorrect invalid date

Previous Next

Package: coreutils;

Reported by: "Chris F.A. Johnson" <chris <at> cfajohnson.com>

Date: Thu, 13 Jun 2013 22:26:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Sergio Durigan Junior <sergiodj <at> riseup.net>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 14613 <at> debbugs.gnu.org
Subject: bug#14613: [PATCH] Make parse_datetime (and therefore `date') handle 'DAY MONTH, YEAR'
Date: Sat, 27 Jul 2013 20:13:34 -0300
On Saturday, July 27 2013, Paul Eggert wrote:

> That format is typically considered to be erroneous, e.g.,
> <http://www.grammar.com/dates-day-month-year/>, so I'm
> not sure parse_datetime should be supporting it.

I wasn't aware parse_datetime followed a defined grammar.  And this
seems to be an English grammar idiosyncrasy, which is definitely not
familiar to me (not a native english speaker).

IMO, I don't really see a problem supporting an "erroneous English
grammar", since parse_datetime should probably not be so strict about it
and adapt to such small cases.

Anyway, just my opinion.

-- 
Sergio




This bug report was last modified 11 years and 333 days ago.

Previous Next


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