Hey Guys, I have a question, IM using Datepicker with gem bootstrap
the problem is when I put this line
<input type="text" data-provide="datepicker">
I have this kind of format : dd/mm/yyyy
I would like to have yyyy-mm-dd
So I put in my JS file this code :
$('input').datepicker({
format: "yyyy-mm-dd"
});
but its not working , any help?
please