Skip to content
Closed
Prev Previous commit
Next Next commit
Adjust entry.service.ts to do loadEntriesByTimeRange without timezone…
…_offset
  • Loading branch information
sbateca committed Mar 31, 2022
commit 299f7ae98e19f6d81db48af7641a3fbbc1f4fd4d
3 changes: 1 addition & 2 deletions src/app/modules/time-clock/services/entry.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ export class EntryService {
start_date: this.datePipe.transform(range.start_date, EntryService.TIME_ENTRIES_DATE_TIME_FORMAT),
end_date: this.datePipe.transform(range.end_date, EntryService.TIME_ENTRIES_DATE_TIME_FORMAT),
user_id: userId,
limit: `${MAX_NUMBER_OF_ENTRIES_FOR_REPORTS}`,
timezone_offset : new Date().getTimezoneOffset().toString(),
limit: `${MAX_NUMBER_OF_ENTRIES_FOR_REPORTS}`
}
}
);
Expand Down