uxsolutions / bootstrap-datepicker

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

Month name to number #2699

Open marijusGood opened 4 months ago

marijusGood commented 4 months ago

Expected behaviour

Hi team, I think you should have an option(or make it a default) that months written as words should be converted to numbers, for example, 01-February-2024 should be 01-02-2024.

Actual behaviour

01-February-2024 defaults to current date

Datepicker version used

1.9.0

ralfhauser commented 3 months ago

Yes the month-as-number and the month-as-name-string modes should work simultaneously.

(and obviously, it should be configurable in which languages the month-as-name-string should be recognized - i.e. which language resources to support for this)