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

[Bug Report][3.7.0] Min date shifted 1 day forward when using luxon adapter #20395

Open
VlasovichD opened this issue Aug 26, 2024 · 0 comments
Open
Labels
E: date T: bug Functionality that does not work as intended/expected

Comments

@VlasovichD
Copy link

VlasovichD commented Aug 26, 2024

Environment

Vuetify Version: 3.7.0
Vue Version: 3.4.38
Browsers: Chrome 127.0.0.0
OS: Windows 10

Steps to reproduce

Set LuxonAdapter as date adapter. Your local time zone must be between +1 and +12. Set v-date-picker min prop date as '2024-08-10'.

Expected Behavior

Dates from August 10th inclusive must be eligible for selection

Actual Behavior

Dates from August 11th available for selection

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

Without using the adapter the behavior is correct. Max prop works correctly with and without using an adapter.
I think it depends on my current time zone settings. Without using the adapter, the day of the week in v-date-picker starts from Sunday, and when using it - from Monday. My time zone is +2. If I set a negative local time zone of the computer, then the date is available from August 10 as it should be. As I understand it, when using the adapter, the local settings of the computer are taken into account, unlike when the adapter is not used.

@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected E: date labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E: date T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants