ietf-822
[Top] [All Lists]

822 Date format

1999-06-03 11:56:45
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"


<Prev in Thread] Current Thread [Next in Thread>