-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DatePicker - date selected is previous day if changing month #3104
Comments
Could you provide a plunkr/stackblitz with reproduction? You can use one of starter templates: |
Hi, I exported from stackblitz a minimal code that reproduce the problem (please refer to attached archive and attached screenshots) Brief explanation:
Thank you |
This issue still appears in version 2.0.1 |
It's still here in the 3.3.0 version, could you check it ? If I choose a date in the datepicker -> everything work well, For example if I put 01/03/2019 it become 28/02/2019 in the model, but the 01/03/2019 is shown ( dateInputFormat: 'DD/MM/YYYY') [edit] I found that the date is transform to UTC... We are in UTC+1 so the real date is 2019-03-01 00:00:00 and it is converted to 2019-02-28 23:00:00 when I'm submitting the form... Is ther any possibiliy to avoid that ? |
Confirming that it is still there. WTH 👎 v^5.6.1 |
Version: 1.9.3
Step to reproduce:
Result:
Selected date (binded to a Date variable via ngModel) is "2017-12-11T23:00:00.000Z" rather than ""2017-12-12T[current time]Z"
Same occurs when moving back to a previous month. In that case the only difference is that it always selects the previous day at 22:00:00.
The text was updated successfully, but these errors were encountered: