Re: Four patches for LWP (and comments)
Andreas Koenig (k@anna.mind.de)
Tue, 8 Aug 1995 13:27:17 +0200
>From: Gisle Aas <aas@oslonett.no>
>
>> I have used Tom's getdate and it did what I wanted. Unfortunately I
>> don't know what _we_ want.
>
>Does it parse these formats:
>
Not too many of those :(
andreas
k@anna:~% perl -e '
use GetDate;
@ARGV="gisle.date.asks";
while (<>){
next unless /^\s\"(.*?)\"/;
printf "%35s %s %s\n", $1, "--->", getdate($1);
}
'
Wed, 09 Feb 1994 22:23:32 GMT ---> 760832612
Thu Feb 3 17:03:55 GMT 1994 ---> 760295035
Tuesday, 08-Feb-94 14:15:29 GMT ---> -1
Tuesday, 08-Feb-1994 14:15:29 GMT ---> -1
03/Feb/1994:17:03:55 -0700 ---> -1
09 Feb 1994 22:23:32 GMT ---> 760832612
08-Feb-94 14:15:29 GMT ---> -1
08-Feb-1994 14:15:29 GMT ---> -1
08-Feb-94 ---> -1
08-Feb-1994 ---> -1
09 Feb 1994 ---> 760748400
03/Feb/1994 ---> -1