This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix(calendar, datepicker): fix issues with GMT+X timezones #12003
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
googlebot
added
the
cla: yes
PR author has signed Google's CLA: https://opensource.google.com/docs/cla/
label
Aug 28, 2020
Splaktar
added
P2: required
Issues that must be fixed.
type: bug
i18n: localization
This issue is related to internationalization
labels
Aug 28, 2020
@oliversalzburg is there any chance that you can test the changes in this branch locally to verify the fix in the GMT+2 time zone? |
wagnermaciel
approved these changes
Aug 31, 2020
- simplify `$$mdDateUtil.removeLocalTzAndReparseDate()` Fixes #12000
Splaktar
force-pushed
the
datepicker-fix-gmt+timezone-issues
branch
from
August 31, 2020 18:30
b2398f8
to
6fabe26
Compare
3 tasks
3 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
cla: yes
PR author has signed Google's CLA: https://opensource.google.com/docs/cla/
i18n: localization
This issue is related to internationalization
P2: required
Issues that must be fixed.
pr: lgtm
This PR has been approved by the reviewer
pr: merge ready
This PR is ready for a caretaker to review
type: bug
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Checklist
Please check that your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
When local timezone is GMT+X, (i.e.
+5:00
) usingng-model-options
to specify the timezone causes the previous day to be selected.Issue Number:
Fixes #12000
What is the new behavior?
$$mdDateUtil.removeLocalTzAndReparseDate()
Does this PR introduce a breaking change?
Other information
We don't have the capability to change the device's timezone between tests.