On 8/25/07, Andreas Jung <[EMAIL PROTECTED]> wrote: > Before digging deeper I would like to hear some opinions if this seems a > reasonable approach? Unlikely that we can achieve 100% backward > compatibility but possibly 99%....thoughts...comments?
Yeah, I had that idea as well, and also tried it and also got stuck on timezones. :-) I used dateutil, though, and one of the main problems with that is that it calculates what timezone you are in when you load the module, which basically makes timezone testing impossible. pytz may be a better choice. Unfortunately, I then deleted the directory I did the work in by mistake, and I haven't had the energy to try again later. :-) But yes, I think it's doable, and more, I think it's a good idea. DateTime is too cruddy and hard to maintain, and most likely still full of bugs. -- Lennart Regebro: Zope and Plone consulting. http://www.colliberty.com/ +33 661 58 14 64 _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )