Thread View: news.software.nntp
3 messages
3 total messages
Started by fink
Sat, 26 Apr 2003 18:06
Correct DATE format for News posting
Author: fink
Date: Sat, 26 Apr 2003 18:06
Date: Sat, 26 Apr 2003 18:06
21 lines
2082 bytes
2082 bytes
Here are some of the post dates as taken from newsgroups: Thu, 10 Apr 2003 19:42:33 -0400 Mon, 07 Apr 2003 22:40:04 GMT Sat, 19 Apr 2003 12:56:54 +0200 (CEST) Fri, 18 Apr 2003 05:16:36 -0400 (EDT) Thu, 3 Apr 2003 18:51:15 -0500 (EST) Now the RFC says, dates should contain either the offset or the 3 char timezone but not both. Yet I see there is no consistency in the dates posted. Does this imply that whichever client posted these are not in compliance with the RFC or did I interpret the RFC wrong? What is the right format for posting and interpreting dates? A detailed explanation would be greatly appreciated! Thank you!
Re: Correct DATE format for News posting
Author: Andrew Gierth
Date: Sun, 27 Apr 2003 06:42
Date: Sun, 27 Apr 2003 06:42
52 lines
3014 bytes
3014 bytes
>>>>> "fink" == fink <fink@hmail.com> writes: fink> Here are some of the post dates as taken from newsgroups: fink> Thu, 10 Apr 2003 19:42:33 -0400 fink> Mon, 07 Apr 2003 22:40:04 GMT fink> Sat, 19 Apr 2003 12:56:54 +0200 (CEST) fink> Fri, 18 Apr 2003 05:16:36 -0400 (EDT) fink> Thu, 3 Apr 2003 18:51:15 -0500 (EST) fink> Now the RFC says, dates should contain either the offset or the fink> 3 char timezone but not both. Yet I see there is no fink> consistency in the dates posted. Anything in (parentheses) is a comment and is not semantically part of the header contents. So, none of the above actually contain both the offset and the zone name. fink> Does this imply that whichever client posted these are not in fink> compliance with the RFC or did I interpret the RFC wrong? What fink> is the right format for posting and interpreting dates? If you are generating dates, then this is the correct format: Date: Day, DD Mon YYYY HH:MM:SS +zzzz The initial "Day," is entirely optional, but if it is present it _must_ be the three-letter English abbreviation for the correct weekday name. Don't localise this unintentionally. "DD" may be one or two digits, leading zeros should be avoided "Mon" must be the three-letter English abbreviation for the month name (again, localisation is strictly forbidden). "YYYY" should always be four-digits HH, MM and SS should always be two digits with leading zeros. Always generate the zone (+/- nnnn) in numeric form. The value "-0000" is special, it means "this date/time is given in UTC, but says nothing about what the poster's local timezone really is". Otherwise, give the numeric offset of the local timezone from UTC (if this offset is 0, then give it as +0000). Optionally, you can add to the end of the above format a comment, enclosed in parentheses, giving the name of the timezone. (You can in theory put anything else you like there, but you shouldn't.) -- Andrew.
Re: Correct DATE format for News posting
Author: mei lesheng
Date: Sun, 27 Apr 2003 11:39
Date: Sun, 27 Apr 2003 11:39
26 lines
1855 bytes
1855 bytes
test "fink" <fink@hmail.com> wrote in message news:UUzqa.1390$ZH2.129180841@newssvr21.news.prodigy.com... > Here are some of the post dates as taken from newsgroups: > > > Thu, 10 Apr 2003 19:42:33 -0400 > Mon, 07 Apr 2003 22:40:04 GMT > Sat, 19 Apr 2003 12:56:54 +0200 (CEST) > Fri, 18 Apr 2003 05:16:36 -0400 (EDT) > Thu, 3 Apr 2003 18:51:15 -0500 (EST) > > Now the RFC says, dates should contain either the offset or the 3 char > timezone but not both. Yet I see there is no consistency in the dates > posted. > > Does this imply that whichever client posted these are not in compliance > with the RFC or did I interpret the RFC wrong? What is the right format > for posting and interpreting dates? > > A detailed explanation would be greatly appreciated! > > Thank you!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads