amarildopps / odata4j

Automatically exported from code.google.com/p/odata4j
2 stars 0 forks source link

Handle datetime values of the form: 2011-02-12T06:24:26.2379584-07:00 #198

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Yes, it's probably invalid according the spec, but we should be liberal in what 
we accept.

Example in the wild: http://www.pluralsight-training.net/odata/Modules

Original issue reported on code.google.com by john.spurlock on 4 Aug 2012 at 5:08

GoogleCodeExporter commented 8 years ago
Actually, looks like the problem here is that the service returned this value 
in a property declared of type Edm.DateTime.  Not sure what to do here, posted 
a question to the odata list.

<d:PublishDate 
m:type="Edm.DateTime">2011-02-12T06:24:26.2379584-07:00</d:PublishDate>

Original comment by john.spurlock on 10 Nov 2012 at 4:22