Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

fix(datepicker): issues in UTC+x time zones when ng-model-options="{timezone: 'UTC'}" is set #12150

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vdrasutis
Copy link

…9: #12149

AngularJS Material is in LTS mode

We are no longer accepting changes that are not critical bug fixes into this project.
See Long Term Support for more detail.

PR Checklist

Please check your PR fulfills the following requirements:

  • Does this PR fix a regression since 1.2.0, a security flaw, or a problem caused by a new browser version?
  • The commit message follows our guidelines
  • Tests for the changes have been added or this is not a bug fix / enhancement
  • Docs have been added, updated, or were not required

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Enhancement
[ ] Documentation content changes
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Fixes #

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

@vdrasutis
Copy link
Author

vdrasutis commented Feb 20, 2022

P.S. I think this fix will be ok when passed time zone is UTC +00:00 - but when different time zone is passed might not work properly initial (to create midnight by passed time zone).

@Splaktar Splaktar changed the title Fixing one of 12149 issues - when same date is selected multiple times. Also added sample to the page 2nd issue to repeat - when input box is not taking passed time zone. fix(datepicker): issues in UTC+x time zones when ng-model-options="{timezone: 'UTC'}" is set Mar 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant