added support for Ante meridiem and Post meridiem format (#615)

This commit is contained in:
Kevin Papst
2019-03-06 10:59:31 +01:00
committed by GitHub
parent e260dd84ad
commit 54cd30c564
14 changed files with 114 additions and 24 deletions

View File

@@ -174,7 +174,7 @@ $(function() {
$(this).daterangepicker({
singleDatePicker: true,
timePicker: true,
timePicker24Hour: true,
timePicker24Hour: $.kimai.settings['twentyFourHours'],
showDropdowns: true,
autoUpdateInput: false,
locale: {
@@ -324,7 +324,8 @@ $(function() {
lastMonth: 'Last month',
thisYear: 'This year',
lastYear: 'Last year',
customRange: 'Custom range'
customRange: 'Custom range',
twentyFourHours: true
};
// once initialized, here are all values