Skip to content

Commit 299f7ae

Browse files
committed
Adjust entry.service.ts to do loadEntriesByTimeRange without timezone_offset
1 parent 03518df commit 299f7ae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/app/modules/time-clock/services/entry.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ export class EntryService {
7575
start_date: this.datePipe.transform(range.start_date, EntryService.TIME_ENTRIES_DATE_TIME_FORMAT),
7676
end_date: this.datePipe.transform(range.end_date, EntryService.TIME_ENTRIES_DATE_TIME_FORMAT),
7777
user_id: userId,
78-
limit: `${MAX_NUMBER_OF_ENTRIES_FOR_REPORTS}`,
79-
timezone_offset : new Date().getTimezoneOffset().toString(),
78+
limit: `${MAX_NUMBER_OF_ENTRIES_FOR_REPORTS}`
8079
}
8180
}
8281
);

0 commit comments

Comments
 (0)