Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
620
ISO dates use local timezone in chrome.
posted

Hello.

I've a grid which get's its data from the server via ajax. The dates are send from the server in ISO format (2015-04-07T00:00:00). In IE11 and Firefox this works perfect. However in Chrome, dates are parsed using my local timezone. As I'm in Buenos Aires and my dates don't have time (always 00:00:00) Chrome always shows one day earlier. How can I resolve this?

Here you can see how dates are show OK in IE and Firefox and not in Chrome: http://jsfiddle.net/0c2dLoo7/.

Thanks,

Diego