handsontable icon indicating copy to clipboard operation
handsontable copied to clipboard

Date validator - `correctFormat` returns wrong date

Open rmanganiello opened this issue 1 year ago • 1 comments

Describe the bug

Hello, I was trying to use the correctFormat option to correct inputs from the user to a desired format but it doesn't work as expected.

In the example below I'm trying to type an ISO 8601 format date and the returned date by correctFormat is wrong.

The date format I'm using to test is MMM DD, YYYY.

Video/Screenshots

https://github.com/user-attachments/assets/8d323d2c-6c00-4c10-af5f-d8189b8141fe

Provide a link to the demo with the bug reproduction

https://react-grdkme.stackblitz.io

Handsontable version

14.6.1

Framework version

React 18

Your environment

Chrome 130.0.6723.70; MacOS 15.0.1

rmanganiello avatar Oct 30 '24 18:10 rmanganiello

Thank you for sharing the issue report as well.

This way it will be easier for the community to track changes and share their feedback.

AMBudnik avatar Oct 31 '24 06:10 AMBudnik