From 260e7f6e710af53c0774af9e7746c7de2627254e Mon Sep 17 00:00:00 2001 From: Mohamed Mekawy Date: Thu, 16 Apr 2020 21:43:25 +0300 Subject: [PATCH] edit worklist-main.component.ts --- .../app/notification/worklist-main/worklist-main.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mohem/src/app/notification/worklist-main/worklist-main.component.ts b/Mohem/src/app/notification/worklist-main/worklist-main.component.ts index 8f284ef6..bb660db8 100644 --- a/Mohem/src/app/notification/worklist-main/worklist-main.component.ts +++ b/Mohem/src/app/notification/worklist-main/worklist-main.component.ts @@ -933,8 +933,8 @@ export class WorklistMainComponent implements OnInit { const request = new GetSubordinatesLeavesRequest(); - request.P_DATE_FROM = "/Date(" + Date.parse(from) + ")/";//new Date(from); - request.P_DATE_TO = "/Date(" + Date.parse(to) + ")/" //new Date(to); + request.P_DATE_FROM = "/Date(" + Date.parse(from) + '+0300'+ ")/";//new Date(from); + request.P_DATE_TO = "/Date(" + Date.parse(to) + '+0300'+ ")/" //new Date(to); request.P_SELECTED_EMPLOYEE_NUMBER = this.selEmp; // ="'/Date(" + Date.parse(from) + ")'"