Change the table view slot time format (consistent with default view)
This commit is contained in:
parent
995b995aba
commit
d6e913edd8
1 changed files with 2 additions and 2 deletions
|
@ -709,11 +709,11 @@ App.Utils.CalendarTableView = (function () {
|
||||||
switch (vars('time_format')) {
|
switch (vars('time_format')) {
|
||||||
case 'military':
|
case 'military':
|
||||||
timeFormat = 'H:mm';
|
timeFormat = 'H:mm';
|
||||||
slotTimeFormat = 'H(:mm)';
|
slotTimeFormat = 'H';
|
||||||
break;
|
break;
|
||||||
case 'regular':
|
case 'regular':
|
||||||
timeFormat = 'h:mm a';
|
timeFormat = 'h:mm a';
|
||||||
slotTimeFormat = 'h(:mm) a';
|
slotTimeFormat = 'h a';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Error('Invalid time format setting provided!' + vars('time_format'));
|
throw new Error('Invalid time format setting provided!' + vars('time_format'));
|
||||||
|
|
Loading…
Reference in a new issue