Hey guys,
i have a issue regarding handling dates and times with OData. I need to convert the data from odata to show it in the right format at the frontend. I worked through this post already:
Working with OData Dates and Times
I could get it worked with dates, but times are still not working.
The problem is somehow the conversion from OData to Javascript objects. The block says:
"Luckily if you use the ODataModel, datajs the OData library SAPUI5 uses has regular expressions and code logic which parses these values into JavaScript for us. Below is how this Entity looks parsed to JavaScript."
How is that working? Can someone please explain how I can see the Odata in JavaScript Objects?
Here is what I get when I call the Service? And there is also the problem. I have no ms in the time and therefore I cant convert it into a new date.
Thanks + regards
Chris