On Sun, May 06, 2007 at 01:10:00PM +0000, Johan Sundstr�m (Achtung Liebe!) @ Pike (-) developers forum wrote:
changes format_http() from using constant English strings to using Calendar's language bound day and month names. I don't contest that that format could be useful for some purposes, but shouldn't it use a different method name then? RFC 2616 states that a HTTP-date is:
well, as it was the format simply broke with other calendars.
what about format_smtp? doesn't the same issue apply there as well?
you are probably right though.
i guess a better fix would be to always convert to ISO before returning a value or refusing to allow format_http to work with other calendars and providing this result under a different function name.
thanks for keeping an eye on this...
greetings, martin.