Yes Antony, You got it right The issue is that both form.vars.start_date and form.vars.end_date returns a str type. Exactly the same code under 2.14.6 returns a 'date' type
On Thursday, August 23, 2018 at 6:02:49 AM UTC+2, Anthony wrote: > > On Wednesday, August 22, 2018 at 6:41:06 PM UTC-4, Joe Barnhart wrote: >> >> So "session" stuff gets pickled and unpicked which makes sense that dates >> might come back as strings. >> > > Pickling preserves the data type. That is not the issue here. The problem > is the values in form.vars used to be dates and are now strings. Those > values are being stored in the session, but the problem happens before > anything gets to the session. > > Anthony > -- 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/d/optout.