Timestamp error in serialization

I was able to send data to the interface doing:

result.index = result.index.strftime('%Y-%m-%d')
return result.to_dict()

but now on the interface I have strings and not date, and it turns out there is no strptime on the client

I am kind of lost at this point…