I have written an Angular site using the SharePoint 2010 REST Api. To query the list I use listdata.svc, for example:
I am also sending in a few headers but mainly
In my application I display the modified date the problem is that the dates I get back are incorrect. The dates come back in JSON as the following format:
That translates to
"Tue, 06 Oct 2015 14:17:38 GMT" but the problem is that the time I modified that file in SharePoint was
06 Oct 2015 2:17:38 Pacific time.
What I think is happening is that SharePoint is returning the date back to me localized to the server's time zone (Pacific) but isnt converting the JSON to UTC or specifying what offset it is using.
In the query API I see the DateInUtc attribute but I dont see anyting equivalent in the listdata.svc api.
Has anyone run into this problem or have insights on how to fix this?