It is a bit weird when I use both Moment.js format and your format differently, even though it show exactly the same format!
$('#input-created')
.val(moment().subtract(1, 'days').format('YYYY-MM-DD HH:00'))
.datetimepicker({
format: 'yyyy-mm-dd hh:00',
todayBtn: true,
todayHighlight: true,
autoclose: true,
minView: 'day',
showMeridian: true
})
.change(function(){
doSubmit();
});