Il 20/02/14 21:51, Niphlod ha scritto: > that is an unfortunate misnaming in the datetime module > > the datetime module holds: > - datetime > - timedelta > - tzinfo > - time > as "submodules". Thanks Niphold! That was the problem. I user request.now instead of datetime.now and just import timedelta from datetime and all works fine now.
Cheers Manuele -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.