Skip to content
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

[datetime2] fix(DateInput2): handle defaultTimezone prop changes #6081

Merged
merged 2 commits into from
Apr 19, 2023

Conversation

adidahiya
Copy link
Contributor

Checklist

  • Includes tests
  • Update documentation

Changes proposed in this pull request:

Properly handle changes to the defaultTimezone prop in both uncontrolled and controlled mode. See unit tests.

Also small refactor to consistently use the UTC_TIME.ianaCode constant rather than the string literal "Etc/UTC" everywhere.

@adidahiya adidahiya force-pushed the ad/dateinput2-default-timezone branch from eeda2d2 to 66111a0 Compare April 19, 2023 18:43
@adidahiya
Copy link
Contributor Author

[datetime2] fix(DateInput2): handle defaultTimezone prop changes

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@adidahiya
Copy link
Contributor Author

fix test typecheck

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@adidahiya adidahiya merged commit be7fc79 into develop Apr 19, 2023
@adidahiya adidahiya deleted the ad/dateinput2-default-timezone branch April 19, 2023 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant