From d6e913edd8f9597f110d12c1e561755244a441d3 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Thu, 26 May 2022 14:29:29 +0200 Subject: [PATCH] Change the table view slot time format (consistent with default view) --- assets/js/utils/calendar_table_view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/utils/calendar_table_view.js b/assets/js/utils/calendar_table_view.js index 0647570f..32e54338 100755 --- a/assets/js/utils/calendar_table_view.js +++ b/assets/js/utils/calendar_table_view.js @@ -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'));