[egenix-users] mx.DateTime.DateTimeDeltaFrom

M.-A. Lemburg mal at egenix.com
Thu Sep 5 12:21:00 CEST 2013


On 05.09.2013 11:14, Mihai Ionescu wrote:
> Hi,
> 
> 
> 
> First of all, 
> congratulations for a great library, especially mx.DateTime is for me.

Thanks.

> I was wondering if more parameters could be added to DateTimeDeltaFrom
> I have in mind: years, months and weeks
> 
> something like DateTimeDeltaFrom('4 years 5 months 10 weeks') would be very useful for me at least
> 
> Does it sound useful for you?

We could add "weeks", but "years" and "months" are not well-defined,
since they can map to 365/366 days and 29/30/31 days resp.

For those relative deltas, the RelativeDateTime objects are more
suitable.

Thanks,
-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Sep 05 2013)
>>> Python Projects, Consulting and Support ...   http://www.egenix.com/
>>> mxODBC.Zope/Plone.Database.Adapter ...       http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2013-09-04: Released eGenix pyOpenSSL 0.13.2 ...  http://egenix.com/go48
2013-09-20: PyCon UK 2013, Coventry, UK ...                15 days to go
2013-09-28: PyDDF Sprint ...                               23 days to go

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/



More information about the egenix-users mailing list