I am having a issue with my DS.Model parsing dates in the format of “YYYY-MM-DD”. They are always one day behind.
Here is an example:
Using Date objects on the console I get similar results
> new Date('2012-09-20')
Wed Sep 19 2012 17:00:00 GMT-0700 (PDT)
Is this a ember bug or a javascript bug or a Chrome bug or am I missing something?
Chrome Version 21.0.1180.89 on OSX 10.7
I ran into this just the other day.
According to the ECMAScript Specification 15.9.1.15
is the same as
The console then outputs the value in your local timezone.