NetBSD-Bugs archive

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

Re: bin/50574 (lib/libutil/t_parsedate:relative test fails at times)



The following reply was made to PR bin/50574; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/50574 (lib/libutil/t_parsedate:relative test fails at times)
Date: Sat, 2 Jan 2016 12:15:46 +0100

 On Sat, Jan 02, 2016 at 02:25:00AM +0000, Robert Elz wrote:
 >  Since parsedate was originally (I believe, Steve Bellovin can correct if
 >  he's still paying attention here) intended for handing the weirdness people
 >  used to put in the Date: header of usenet messages, dealing with specs of
 >  future times was never one of its goals ... that was all added later, and
 >  generally solved whatever need someone had that week...
 >  
 >  Using any of this in any way other than "I wonder what parsedate does with..."
 >  is probably not to be recommended.
 
 I'd argue that all of this should be removed. It is "parsedate" and not
 "Siri", "Eliza", or the wolfram alpha interface. IMHO "tomorrow" is not
 a date, but "Jan 3, 2016" is - even if both would mean the same to a
 human reader today.
 
 If we fear for backward compat, at least document them as deprecated
 and disable all tests for them.
 
 Martin
 


Home | Main Index | Thread Index | Old Index