Sven Van Caekenberghe wrote
You are underestimating me again ;-)
Ha ha. You're too good. I'm not used to this level of service ;-) Sven Van Caekenberghe wrote
ZnUtils>>parseHttpDate: string
Damn, I was looking for a ZnDate* Sven Van Caekenberghe wrote
That should cover the spec, no ?
For the 3 examples I pasted from the standard: - 'Sun, 06 Nov 1994 08:49:37 GMT' -> works fine - 'Sunday, 06-Nov-94 08:49:37 GMT' -> parses, but doesn't convert the year to 4 digit (thinks it's 0094) - 'Sun Nov 6 08:49:37 1994' -> fails to parse. it seems GMT is optional, but should be assumed if not present -- View this message in context: http://forum.world.st/Parsing-HTTP-dates-tp4623688p4623838.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.