From 23bcc2d468bb13c867796b96396ba4c143415736 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 19 Jul 2021 16:21:14 +0300 Subject: [PATCH] Working plan exception - details pane shows incorrect details (#1011). --- assets/js/backend_calendar_default_view.js | 6 +++--- assets/js/backend_calendar_table_view.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/js/backend_calendar_default_view.js b/assets/js/backend_calendar_default_view.js index 03ca8e8a..83e32d35 100755 --- a/assets/js/backend_calendar_default_view.js +++ b/assets/js/backend_calendar_default_view.js @@ -447,7 +447,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; 'text': EALang.start }), $('', { - 'text': GeneralFunctions.formatDate(event.start.format('YYYY-MM-DD HH:mm:ss'), GlobalVariables.dateFormat, true) + 'text': GeneralFunctions.formatDate(event.data.date + ' ' + event.data.workingPlanException.start, GlobalVariables.dateFormat, true) }), $('
'), @@ -456,7 +456,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; 'text': EALang.end }), $('', { - 'text': GeneralFunctions.formatDate(event.end.format('YYYY-MM-DD HH:mm:ss'), GlobalVariables.dateFormat, true) + 'text': GeneralFunctions.formatDate(event.data.date + ' ' + event.data.workingPlanException.end, GlobalVariables.dateFormat, true) }), $('
'), @@ -475,7 +475,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {}; 'class': 'd-flex justify-content-between', 'html': [ $('