OpenTreeOfLife / phylografter

web2py app for tree store and grafting
Other
6 stars 4 forks source link

datetime webservice arguments errors triggering 500 #114

Open mtholder opened 10 years ago

mtholder commented 10 years ago

http://www.reelab.net/phylografter/study/modified_list.json/url?from=2014-05-24T10:40:56 works, but using isoformat to create the "from" arg: http://www.reelab.net/phylografter/study/modified_list.json/url?from=2014-05-24T10:40:56.434231

causes a 500. We should probably be more flexible on formats, and return status code 400 + a message. Not the highest priority, obviously...

pmidford commented 10 years ago

I'll have a look.