Subject: Re: 822 Date format
From: Pete Resnick <[email-masked]>
To: "KC Smith" <[email-masked]>
Cc: <[email-masked]>
Date: Thu, 3 Jun 1999 12:37:29 -0700

On 6/3/99 at 12:00 PM -0700, KC Smith wrote:

>I'm slightly confused about one comment in section 5.1. The definition of
>"month" says that the only valid string for the month is "Jan" - "Dec", i.e.
>no numbers are allowed. Yet in the comments for date-time, it has "dd mm
>yy".

It's just a typo in the comments. It should have been "dd mmm yyyy", 
i.e., (up to) two characters for the day, followed by three 
characters for the month, followed by (up to) 4 characters for the 
year.

Numeric months are certainly not allowed.

You might want to check out 
<ftp://ftp.ietf.org/internet-drafts/draft-ietf-drums-msg-fmt-07.txt> 
as well as the other work of the DRUMS working group at 
<http://www.ietf.org/html.charters/drums-charter.html>.

pr
-- 
Pete Resnick <mailto:[email-masked]>
Eudora Engineering - QUALCOMM Incorporated
Ph: (217)337-6377 or (619)651-4478, Fax: (619)651-1102

From: "KC Smith" <[email-masked]>
To: <[email-masked]>
Subject: 822 Date format
Date: Thu, 3 Jun 1999 12:00:25 -0700
Importance: Normal
Sender: [email-masked]

I'm slightly confused about one comment in section 5.1. The definition of
"month" says that the only valid string for the month is "Jan" - "Dec", i.e.
no numbers are allowed. Yet in the comments for date-time, it has "dd mm
yy".

Anyone know why? Is it a mistake in the RFC, or is it meant to imply that
the day goes before the month goes before the year? And if so, why would it
use dd mm yy and not "day month year" as they do in the definition of date?

- KC Smith

5.1.  SYNTAX

     date-time   =  [ day "," ] date time        ; dd mm yy
                                                 ;  hh:mm:ss zzz

     day         =  "Mon"  / "Tue" /  "Wed"  / "Thu"
                 /  "Fri"  / "Sat" /  "Sun"

     date        =  1*2DIGIT month 2DIGIT        ; day month year
                                                 ;  e.g. 20 Jun 82

     month       =  "Jan"  /  "Feb" /  "Mar"  /  "Apr"
                 /  "May"  /  "Jun" /  "Jul"  /  "Aug"
                 /  "Sep"  /  "Oct" /  "Nov"  /  "Dec"