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

an event for format function #2700

Open
marijusGood opened this issue Jun 3, 2024 · 1 comment
Open

an event for format function #2700

marijusGood opened this issue Jun 3, 2024 · 1 comment

Comments

@marijusGood
Copy link

Expected behaviour

Hi team, we would like to see what has been changed regarding formatting. If from 12-12-2024 it went to 12/12/2024 we would like to print that to the console and the user so that they would know that the input they have entered has changed. Could that be done with an event or plugging in to the liberty some other way?

Datepicker version used

ex. 1.9.0

@ralfhauser
Copy link

or even more so, if you enter 15/12/2924 in an anglophone locale and really meant december 15, 2024, the picker switched/defaulted it to the current date / "NOW" since no 15th month exists.
A little warning should be transiently displayed explaining this to the end-user

marijusGood pushed a commit to marijusGood/bootstrap-datepicker that referenced this issue Jun 20, 2024
marijusGood added a commit to marijusGood/bootstrap-datepicker that referenced this issue Jun 20, 2024
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

2 participants