Date parsing

Russ Allbery rra at stanford.edu
Tue Sep 3 18:53:00 UTC 2002


Erik Hensema <erik at hensema.xs4all.nl> writes:

> I'm using parsedate() in a standalone application called parsedate
> (original, isn't it? ;-)) in a mail2news script, so I can predict
> whether or not nnrpd is going to accept the date-header I'm feeding
> it. I only want the two pieces of software to be the same though ;-)

> I can provide you with some (maybe 20 or so) rejected dates, if you
> like.

I'm curious to see what sorts of things you're getting rejected.

> I think innd should use the old parsedate for some time to come. nnrpd
> could use the stricter version (maybe configurable at compile
> time). First I'd like to see some statistics on the software generating
> the illegal date headers though.

This is a bit harder for me to do since I didn't keep message IDs, but I
can try to go back and look at it.  The BST time zone problem is
apparently a problem with clara.net's news servers.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list