Re: [Zope-dev] DateTime.rfc822() bug?

2002-10-15 Thread Janko Hauser
Lennart Regebro wrote: From: Geir Bækholt [EMAIL PROTECTED] i can confirm that this is a bug in DateTime.rfc822(), and that rfc-conformant mailclients choke on it aswell.. Oh, man, I've looked at DateTime now, and it's a mess... (ar at least, the timeone hadnling is). I'm seriously

Re: [Zope-dev] DateTime.rfc822() bug?

2002-10-15 Thread Lennart Regebro
From: Janko Hauser [EMAIL PROTECTED] Zope3 already uses the experimental datetime from Python2.3. From a quick look it seems to handle timezones. Perhaps you can look there for some ideas or use it instead. It seems too risky to use experimental features from a version of python that is ahead

Re: [Zope-dev] DateTime.rfc822() bug?

2002-10-14 Thread Lennart Regebro
From: Geir Bækholt [EMAIL PROTECTED] i can confirm that this is a bug in DateTime.rfc822(), and that rfc-conformant mailclients choke on it aswell.. Oh, man, I've looked at DateTime now, and it's a mess... (ar at least, the timeone hadnling is). I'm seriously considering making rfc822() into

Re: [Zope-dev] DateTime.rfc822() bug?

2002-10-13 Thread Geir Bækholt
Hello Lennart, Friday, October 11, 2002, 2:00:03 PM, you wrote: LR RFC 2822 (which is the currently valid one, if I understand correctly) LR specifies the date format to have four digit zone specifications, ie LR GMT+0200, while DateTime.rfc822() happily returns GMT+2. Not that this LR seems