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

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.

> 
> >>       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>.

- Brian

Received on Friday, 8 May 2009 18:14:09 UTC