Re: Issue 163, was: Meaning of invalid but well-formed dates

Brian Smith wrote:
> Julian Reschke wrote:
>> Brian Smith wrote:
>>> The semantics of the obsolete date formats are not defined. How is a
>>> server supposed to interpret a 2-digit year?
>> Good question. Do you have an answer? Can we mandate the rules in
>> <http://tools.ietf.org/html/rfc5322#section-4.3>?
> 
> I don't have an answer. RFC 5322's rules are just as good as any, I suppose.

Yes, but we can't just impose a rule because we like it, unless we are 
sure it's what's actually implemented.

>>>>       asctime-date = day-name SP date3 SP time-of-day SP 4DIGIT
>>>>       date2        = 2DIGIT "-" month "-" 2DIGIT
>>>>                      ; day-month-year (e.g., 02-Jun-82)
>>> Might as well use "day" and "year":
>> We can re-use "day", but not "year" (because it's 4DIGIT).
> 
> I meant, use <day> for <date2> and <year> for <asctime-date>.

Ack. (see my new patch)

BR, Julian

Received on Friday, 8 May 2009 18:18:23 UTC