This repository was archived by the owner on Sep 5, 2024. It is now read-only.
mdDatepicker: is one day off when typing #11250
Labels
needs: feedback
The issue creator or community need to respond to questions in this issue
resolution: works as expected
The functionality works as designed and documented.
type: bug
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Date when typing should not be one day off
What is the current behavior?
So when I select a date via calendar pop-up and pick a day it gives me a correct day, but when I type a date - it gives me one day off, e.g. typing 2012-12-12 gives me Tue Dec 11 2012 00:00:00 GMT-0500 (EST)
CodePen and steps to reproduce the issue:
CodePen Demo which shows the issue: https://codepen.io/luninroman/pen/gzaPvR
Detailed Reproduction Steps:
Pick a date via input field, but not a calendar
Which versions of AngularJS, Material, OS, and browsers are affected?
AngularJS 1.6.9
Chrome 66.0.3359.117
Is there anything else we should know? Stack Traces, Screenshots, etc.
As you may see date is different from the one I typed
My current timezone Easter, not sure if it matters
The text was updated successfully, but these errors were encountered: