simplejson.dumps(x) should support datetime. Same goes for simplejson.loads(y).
Having worked around this limitation within gluon.contrib.simplejson I am convinced this is going to be a pain every time I work with datetime and somebody else's website. I'm interfacing a calendar app to another website. Everything in python is done with datetime, not string. So I convert once just before calling dumps but it just took me around 10 minutes or more to write a set of nested loops to handle my output data structure. I'm pretty sure I'm going to have to do something similar again in a couple/few more places. I'll be faster the next time, but still, uggh. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---