Gregoire D.

Results 25 comments of Gregoire D.

Which version of bootstrap-datepicker are you using ? of jQuery ? What options for the datepicker do you set ? For what I tested your example works fine: http://jsfiddle.net/azaret/pwjospd8/2/

I see. [As stated in the documentation](http://bootstrap-datepicker.readthedocs.org/en/stable/options.html#format), only those two options are currently supported: ``` js $('.datepicker').datepicker({ format: 'yyyy-mm-dd' }); ``` ``` js $('.datepicker').datepicker({ format: { toDisplay: function () {},...

`toDisplay` aim to set the output format of dates, for both UI and input. `toValue` aim to set the input format, which the plugin will use in order to parse...

Not yet, that's a `2.x` feature tho.

Figured that out, I'm just nit picky. Definitively minor ;)