[Seaside] Parsing HTTP dates

Sean P. DeNigris sean at clipperadams.com
Thu May 10 13:56:52 UTC 2012

In HTTP/1.1, valid dates come in 3 forms (per
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1) :
  Sun, 06 Nov 1994 08:49:37 GMT  ; RFC 822, updated by RFC 1123
  Sunday, 06-Nov-94 08:49:37 GMT ; RFC 850, obsoleted by RFC 1036
  Sun Nov  6 08:49:37 1994       ; ANSI C's asctime() format

All 3 fail in Pharo 1.4 with #asDateAndTime.

It'd be easy enough to write a parser for them, but it seems so common... I
searched google and the seaside lists but found no mention of "date parse

View this message in context: http://forum.world.st/Parsing-HTTP-dates-tp4623583.html
Sent from the Seaside General mailing list archive at Nabble.com.

More information about the seaside mailing list