bug(datepicker): Time zone gets changed automagically, resulting in invalid dates #1065
Description
This is related to #1031
To demonstrate, use this plunker http://plnkr.co/edit/9zw41D?p=preview
At first the date value is "2013-09-23T13:12:24.742Z" (I'm UTC+3, so my local time is actually 16:13)
Clicking another date button changes the date value to "2013-09-24T13:12:24.742Z", all fine so far.
Now, editing the date value directly (to 25-September-2013) in the Input box results in a date value like "2013-09-24T21:00:00.000Z"
Finally, clicking Clear in the popup and selecting a new date (26th), results in "2013-09-25T23:00:00.000Z"
The problem is that when the application doesn't care about the timezoned date value but the date part itself, this creates a lot of problems. The date picker should NOT adjust the time part of the date at all, especially in a way that causes invalid dates due to unnecessary timezone conversions.