I'm trying to save a date of birth field in the create user view of my app, I'm using bootstrap datepicker to make it more friendly. have it formatted to yyyy-mm-dd to match the sql date format.
in the create view, when i pick the date it looks like this:
but when I save and go to the database to check the newly created user I always get this on the birthday field:
Does the boostrap datepicker has something to do with it?
i just have this in my js
$('#data_1 .input-group.date').datepicker({
format: "yyyy-mm-dd",
todayBtn: "linked",
keyboardNavigation: false,
forceParse: false,
autoclose: true
});
Any help will be much appreciated!