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

Date picker AutoCrud, AutoGrid and AutoForm broken when the date is 31st of October #2887

Open
DuncanCasteleyn opened this issue Oct 31, 2024 · 1 comment
Labels
hilla Issues related to Hilla

Comments

@DuncanCasteleyn
Copy link

DuncanCasteleyn commented Oct 31, 2024

Description

No months can be used that only have 30 days on the 31 of October, setting the date of the computer to the 1st of November resolves the issue.

The time of existing items being edited also jumps back 2 hours.

Also reported this on the forum: https://vaadin.com/forum/t/autocrud-grid-form-date-time-picker-doesnt-allow-to-select-september-2024/167670/6

Expected outcome

I get the date I selected.

Minimal reproducible example

All 3 Auto doc pages contain a date time picker where the bug can be reproduced.

https://vaadin.com/docs/latest/components/auto-crud
https://vaadin.com/docs/latest/components/auto-grid
https://vaadin.com/docs/latest/components/auto-form

Steps to reproduce

  1. Set date of computer to 31 November 2024
  2. Try to select a month with only 30 days
  3. Result = another month

Environment

Vaadin version(s): 24.5.2
OS: Windows

Browsers

Chrome, Firefox, Edge

@DuncanCasteleyn DuncanCasteleyn changed the title Date picker AutoCrud, AutoGrid and AutoForm broken when the data is 31st of a month Date picker AutoCrud, AutoGrid and AutoForm broken when the date is 31st of October Oct 31, 2024
@platosha platosha added the hilla Issues related to Hilla label Nov 1, 2024
@platosha
Copy link
Contributor

platosha commented Nov 1, 2024

Hi, let me transfer to the Hilla repo, where AutoCrud family is maintained.

@platosha platosha transferred this issue from vaadin/web-components Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hilla Issues related to Hilla
Projects
None yet
Development

No branches or pull requests

2 participants