Typing date value instead of selecting it.

77 views
Skip to first unread message

jarrett jordaan

unread,
Feb 28, 2017, 3:41:40 AM2/28/17
to bootstrap-datepicker
By default the date format is dd/mm/yyyy.

But if you type a date, lets say "01/02/2016", you don't get the 1st February, but the 2nd of January. The format it uses seems to be mm/dd/yyyy.

Surely this is not expected behaviour? And if so, how would one change it to adhere to the format set?

Screen Shot 2017-02-28 at 10.39.29 AM.png

jarrett jordaan

unread,
Feb 28, 2017, 3:49:37 AM2/28/17
to bootstrap-datepicker
Found the setting, its format and not dateFormat. I was only using dateFormat.
Reply all
Reply to author
Forward
0 new messages