Change the table view slot time format (consistent with default view)

This commit is contained in:
Alex Tselegidis 2022-05-26 14:29:29 +02:00
parent 995b995aba
commit d6e913edd8

View file

@ -709,11 +709,11 @@ App.Utils.CalendarTableView = (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'));