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

Force picker to use new time zone #301

Open
CJDennis opened this issue Jul 22, 2020 · 0 comments
Open

Force picker to use new time zone #301

CJDennis opened this issue Jul 22, 2020 · 0 comments

Comments

@CJDennis
Copy link

I've created a form control that allows the user to select the time zone on the fly. It works very nicely, automatically updating the display value in the picker control. However, after setting a different time zone on the value in the model, the picker reverts to using local time until a new time is selected via the control.

How can I force refresh the control or otherwise get this to work? If I could say onTimeZoneSelect() { picker.controller.setDate(model.date); }, that should work but I don't know how to to that.

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

No branches or pull requests

1 participant