-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
fix(datetime): default to local date #17706
Conversation
Hi, Can I just ask, what version have these fixes gone into? I'm still experiencing this and I'm not sure how to check if I have the right version or not. Thanks, |
This was fixed in Ionic 4.2. There was another bug regarding |
Is there a way to go back to the behavior before this change? Ie ignore the user's device timezone |
@liamdebeasi One idea would be to guard the existing behaviour behind a prop that defaults to the new behaviour. This way there would atleast be a possibility of backwards compatibility. |
Short description of what this resolves:
This PR fixes an issue where datetimes are not localized to the user's timezone. This PR should fix a number of datetime issues.
Changes proposed in this pull request:
convertDataToISO
to ensure that function does not attempt to convert timezones by itselfIonic Version:
Fixes: #17587 #16436 #16723