forked from mirrors/easyappointments
Correct slot label format for default view.
This commit is contained in:
parent
987dc4aaeb
commit
b968970fa6
1 changed files with 2 additions and 2 deletions
|
@ -1431,11 +1431,11 @@ App.Utils.CalendarDefaultView = (function () {
|
|||
switch (vars('time_format')) {
|
||||
case 'military':
|
||||
timeFormat = 'H:mm';
|
||||
slotTimeFormat = 'H(:mm)';
|
||||
slotTimeFormat = 'H';
|
||||
break;
|
||||
case 'regular':
|
||||
timeFormat = 'h:mm a';
|
||||
slotTimeFormat = 'h(:mm) a';
|
||||
slotTimeFormat = 'h a';
|
||||
break;
|
||||
default:
|
||||
throw new Error('Invalid time format setting provided!', vars('time_format'));
|
||||
|
|
Loading…
Reference in a new issue