Re: Saved datetimes of instances have xsd:string instead of xsd:datetime data type

Posted by phiofx on
URL: http://owlready.306.s1.nabble.com/Saved-datetimes-of-instances-have-xsd-string-instead-of-xsd-datetime-data-type-tp2233p2234.html

ok, solved

The problem was that the python data type of the value assigned to the property was pandas.timestamp rather than datetime.

Converting the pandas.timestamp to a string of the right datetime appearance means that is was serialized nicely but unfortunately with the wrong type :-)