On Tue, 19 Jun 2007 22:56:26 +0200, Didier Verna didier@lrde.epita.fr wrote:
I've run into 2 formats that parse-cookie-date can't currently handle:
the first one looks like this: "Sun, 18 Jun 2006 04:01:09 GMT-07:00" I presume it means GMT minus 7 hours.
the second one is almost one of the recognized formats, except that it says PDT (Pacific Daylight Time AFAIK) instead of GMT.
Note that I have no idea if these formats are standard or not. I just ran into them...
The latest release 0.8.0 should hopefully be able to parse these dates correctly. Note that I've also added a special variable so you can allow Drakma to fail when parsing cookie dates. Still, I'd prefer if people would report any date format Drakma can't parse to this mailing list.
Thanks for the report, Edi.