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

Dropdown.vue has a side effect of adjusting local time to UTC #800

Open
ventralnet opened this issue Apr 24, 2023 · 1 comment
Open

Dropdown.vue has a side effect of adjusting local time to UTC #800

ventralnet opened this issue Apr 24, 2023 · 1 comment

Comments

@ventralnet
Copy link

It seems the date picker component adjusts the date model to UTC if there is a a non zero time on your Date object v-model

This could cause confusion when a user is relying also on the time portion of the date v-model to be maintained.

@wxsms
Copy link
Member

wxsms commented May 6, 2023

I dont remember why this logic exist, but looks like it has something to do with limit-to and limit-from.

If it feels confution to you, welcome to raise a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants