Article View: news.software.readers
Article #17489broken Date:'s (was Re: clock/timezone emails)
From: Dave Barr
Date: Tue, 05 Dec 1995 00:00
Date: Tue, 05 Dec 1995 00:00
37 lines
2093 bytes
2093 bytes
In article <4a1ui2$ob4@dodgson.math.psu.edu>, Dave Barr <barr@math.psu.edu> wrote: >I would not be surprised if >there are some packages which simply don't generate Date's correctly. Well, I already found one. I got a complaint from someone in the UK, whose posting didn't have a timezone on it. RFC 1123 says the timezone is supposed to be there, but "encourages" software to still support the older format but translate into an "acceptable" format. However, it seems that parsedate assumes a date without a timezone is in the LOCAL timeone (in my case US/Eastern). Is this "acceptable"? Perhaps. I think assuming GMT would also be reasonable. (assuming PST is not, despite with Bill would say. :-) ) From a rough survey of articles out there, the number of ones which don't have a timezone in the date is rather small. (about the same as ones with bogus timezones like "LOCAL" or alphanumeric ones that aren't generally accepted) There's also a similar number of Date's out there that are in totally the wrong format, like: 21 Nov 95 19:43:40 GMT Shouldn't we start thinking of tossing these altogether, especially in light of the upcoming century? (I'm totally lost with yacc, otherwise I'd modify parsedate.y myself. Anyone want to send me a patch?) I'm thinking of modifying my script to actually parse the date myself somewhat, and if the timezone information is missing then explicitly note it as a problem (similarly for the above broken format). --Dave
Technical Details
Message-ID:
<4a29c7$pq2@dodgson.math.psu.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!not-for-mailReferences:
<4a1ui2$ob4@dodgson.math.psu.edu>Show Full Headers
Complete Article Headers
Message-ID: <4a29c7$pq2@dodgson.math.psu.edu> Subject: broken Date:'s (was Re: clock/timezone emails) Date: Tue, 05 Dec 1995 00:00:00 +0000 From: barr@math.psu.edu (Dave Barr) References: <4a1ui2$ob4@dodgson.math.psu.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!not-for-mail X-Deja-AN: 120955778 Organization: Mathematics Department, The Pennsylvania State University Newsgroups: news.admin.misc,news.software.nntp,news.software.readers