[Nottingham] Calendar and address book for Linux

Michael Erskine msemtd at yahoo.co.uk
Thu Oct 6 16:17:07 BST 2005


On Thursday 06 October 2005 15:24, Simon wrote:
> On 10/6/05, Michael Erskine <msemtd at yahoo.co.uk> wrote:
> > NB: your mail client ain't following the RFCs for date headers - fix it
> > :)
>
> I don't see anything like that here. Checked both headers, no incorrect
> dates :s

The dates aren't incorrect - it is the format that doesn't follow the RFCs:
Original mail "Date" memo header is "Date: Thu Oct  6 14:15:55 2005" which 
looks suspiciously like the result of Perl's localtime or C's ctime(3) in 
that it interleaves the time and date with the year is tagged on the end.
An example of the correct format is...

Date: Thu, 6 Oct 2005 14:15:55 +0100

RFC 822, "STANDARD FOR THE FORMAT OF ARPA INTERNET TEXT MESSAGES" 
(http://www.rfcsearch.org/rfcview/RFC/822.html) states...

   5.  DATE AND TIME SPECIFICATION
      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"
     time        =  hour zone                    ; ANSI and Military
     hour        =  2DIGIT ":" 2DIGIT [":" 2DIGIT]
                                                 ; 00:00:00 - 23:59:59
     zone        =  "UT"  / "GMT"                ; Universal Time
                                                 ; North American : UT
                 /  "EST" / "EDT"                ;  Eastern:  - 5/ - 4
                 /  "CST" / "CDT"                ;  Central:  - 6/ - 5
                 /  "MST" / "MDT"                ;  Mountain: - 7/ - 6
                 /  "PST" / "PDT"                ;  Pacific:  - 8/ - 7
                 /  1ALPHA                       ; Military: Z = UT;
                                                 ;  A:-1; (J not used)
                                                 ;  M:-12; N:+1; Y:+12
                 / ( ("+" / "-") 4DIGIT )        ; Local differential
                                                 ;  hours+min. (HHMM)
      5.2.  SEMANTICS
          If included, day-of-week must be the day implied by the date
     specification.
          Time zone may be indicated in several ways.  "UT" is Univer-
     sal  Time  (formerly called "Greenwich Mean Time"); "GMT" is per-
     mitted as a reference to Universal Time.  The  military  standard
     uses  a  single  character for each zone.  "Z" is Universal Time.
     "A" indicates one hour earlier, and "M" indicates 12  hours  ear-
     lier;  "N"  is  one  hour  later, and "Y" is 12 hours later.  The
     letter "J" is not used.  The other remaining two forms are  taken
     from ANSI standard X3.51-1975.  One allows explicit indication of
     the amount of offset from UT; the other uses  common  3-character
     strings for indicating time zones in North America.


There!

Regards,
Michael Erskine.

-- 
The difference between America and England is that the English think 100
miles is a long distance and the Americans think 100 years is a long time.

		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com



More information about the Nottingham mailing list