angular $http.post changing date to UTC date
问题 I was trying to post some data to my REST api which has date. Now while I debug, my date parameter is a JS Date object with correct date in my timezone: Tue Apr 04 2017 00:00:00 GMT+0530 after it leaves my code, and I see the same in network tab, it is converted to UTC date: "2017-04-03T18:30:00.000Z" I searched for the solution according to which I need to include locale file of angular in my index.html which I did: <script type="text/javascript" src="resources/js/angular/angular-locale_en