Category Archives: Javascript

Bootstrap Datepicker format is ignored (bootstrap-datepicker)

Published by:

Well, sometimes the way they tell you how to do it, is wrong…

You make a nifty date picker, using the bootstrap-datepicker.js and you call the datepicker via javascript, something like this:

You end up having dates in “mm-dd-yy” format.

To change this to “dd-mm-yy” format, you should do it like this:

I suggest the nice people at eyecon.ro have some fixing to do. 😉 Cause they tell you to use format:… , which doesn’t work.

Bad Behavior has blocked 1242 access attempts in the last 7 days.