[web2py] Re: Anyone got working python-dateutil in web2py app?

2013-06-21 Thread Jim S
I use dateutil extensively but not rrule(). -Jim On Friday, June 21, 2013 1:52:16 PM UTC-5, David Marko wrote: I have to use 'rrule' part of python-dateutil library see here http://labix.org/python-dateutilhttp://labix.org/python-dateutil#head-470fa22b2db72000d7abe698a5783a46b0731b57 But

[web2py] Re: Anyone got working python-dateutil in web2py app?

2013-06-21 Thread David Marko
timedeltas are fine, but I need rrules, which contains great functionality ... Dne pátek, 21. června 2013 22:12:53 UTC+2 Jim S napsal(a): I use dateutil extensively but not rrule(). -Jim On Friday, June 21, 2013 1:52:16 PM UTC-5, David Marko wrote: I have to use 'rrule' part of

[web2py] Re: Anyone got working python-dateutil in web2py app?

2013-06-21 Thread Brian M
I too use relativedelta a lot but hadn't tried rrule() before. However, I just gave it a try and it appeared to work OK. (Tested with current web2py trunk running via rocket) def index(): from dateutil.rrule import * from dateutil.parser import * from datetime import * recur =

[web2py] Re: Anyone got working python-dateutil in web2py app?

2013-06-21 Thread David Marko
Thanks a lot for testing !!! I just got it. When I use : return dict(message=Testing RRule, recur = recur) ... its working fine, but when I returned (just for testing) 'return recur' only, it freezed the Rocket ... Thanks again! Dne sobota, 22. června 2013 4:17:29 UTC+2 Brian M napsal(a): I