From 52e90b5d049c35c5924913a26481d56a485335a1 Mon Sep 17 00:00:00 2001 From: Pranay Date: Thu, 30 Jan 2025 09:49:08 +0530 Subject: [PATCH 1/3] FIX: leave experience form allignment --- .../hr_timeoff_extended/views/hr_timeoff.xml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/addons_extensions/hr_timeoff_extended/views/hr_timeoff.xml b/addons_extensions/hr_timeoff_extended/views/hr_timeoff.xml index 36b8093f8..6ba6562b2 100644 --- a/addons_extensions/hr_timeoff_extended/views/hr_timeoff.xml +++ b/addons_extensions/hr_timeoff_extended/views/hr_timeoff.xml @@ -241,22 +241,26 @@ +
+
-
+ +
-
Min - Min + - & Max of - - Experience is required From 1fb8f3b5528965c5199750bcd76d1d85cfb7569a Mon Sep 17 00:00:00 2001 From: raman Date: Thu, 30 Jan 2025 09:59:01 +0530 Subject: [PATCH 2/3] {FIX} :time Zone fix --- .../hr_emp_dashboard/static/src/js/profile_component.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons_extensions/hr_emp_dashboard/static/src/js/profile_component.js b/addons_extensions/hr_emp_dashboard/static/src/js/profile_component.js index 717cb8845..12dd660e0 100644 --- a/addons_extensions/hr_emp_dashboard/static/src/js/profile_component.js +++ b/addons_extensions/hr_emp_dashboard/static/src/js/profile_component.js @@ -146,10 +146,10 @@ export class NetflixProfileContainer extends Component { attendanceLines.forEach(line => { let createDate = new Date(line.create_date); line.create_date = createDate.toISOString().split('T')[0]; // Format as 'YYYY-MM-DD' - let checkIn = new Date(line.check_in); - line.check_in = checkIn.toTimeString().slice(0, 5); // Format as 'HH:MM' - let checkOut = new Date(line.check_out); - line.check_out = checkOut.toTimeString().slice(0, 5); // Format as 'HH:MM' + let checkIn = new Date(line.check_in + 'Z'); + line.check_in = checkIn.toLocaleTimeString([], {hour: '2-digit', minute: '2-digit', timeZone:'Asia/Kolkata'}); // Format as 'HH:MM' + let checkOut = new Date(line.check_out + 'Z'); + line.check_out = checkOut.toLocaleTimeString([], {hour: '2-digit', minute: '2-digit', timeZone:'Asia/Kolkata'}); // Format as 'HH:MM' line.worked_hours = line.worked_hours.toFixed(2); }); this.state.attendance_lines = attendanceLines, From aa9f2aa12d658ce97be936c042e766c96222a815 Mon Sep 17 00:00:00 2001 From: administrator Date: Tue, 7 Jan 2025 09:29:28 +0530 Subject: [PATCH 3/3] Initial commit