MakingSense / moment-datepicker

[ABANDONED REPOSITORY] The best bootstrap datepicker!
Apache License 2.0
92 stars 64 forks source link

Added parseFormat parameter to options #46

Open gschuager opened 10 years ago

gschuager commented 10 years ago

This new parameter would allow us to specify several formats to parse the input text. In my particular case, I'd like to specify ['DD', 'DD/MM', 'DD/MM/YY', 'DD/MM/YYYY']... in this way, entering just "14" would be resolved to the 14th of the current month of the current year (and the same with day/month).

andresmoschini commented 10 years ago

Looks good, I will test it and merge it later. Thanks

andresmoschini commented 10 years ago

Closed because of #54