uxsolutions / bootstrap-datepicker

A datepicker for twitter bootstrap (@twbs)
Apache License 2.0
12.67k stars 6.06k forks source link

an event for format function #2700

Open marijusGood opened 5 months ago

marijusGood commented 5 months ago

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 commented 5 months ago

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