smalot/bootstrap-datetimepicker — pull request #332 by plandem (2014-09-18 10:21:25+00:00)
Title: Update bootstrap-datetimepicker.js

fix parts parser in case of date as number (i.e. year picker only)

E.g.:

$('.year-picker', element).datetimepicker({
format: "yyyy",
weekStart: 1,
todayBtn: true,
autoclose: true,
todayHighlight: true,
startView: 4,
minView: 4,
maxView: 4,
forceParse: true,
language: App.language
});

Will now works if we use only years