diff --git a/js/ractive-legalform.js b/js/ractive-legalform.js index 7b8a140..0cefc5c 100644 --- a/js/ractive-legalform.js +++ b/js/ractive-legalform.js @@ -448,7 +448,8 @@ var yearly = $inputGroup.find('input').attr('yearly'); $inputGroup.datetimepicker({ locale: ractive.getLocale('short'), - format: yearly ? 'DD-MM' : 'DD-MM-YYYY' + format: yearly ? 'DD-MM' : 'DD-MM-YYYY', + dayViewHeaderFormat: yearly ? 'MMMM' : 'MMMM YYYY' }); $(e.target).closest('.input-group-addon').trigger('click');