Skip to content

Commit f4973b9

Browse files
committed
fix: 👽 add time_offset query param to summary endpoint
1 parent 4e72454 commit f4973b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class EntryService {
4646
}
4747

4848
summary(): Observable<TimeEntriesSummary> {
49-
const summaryUrl = `${this.baseUrl}/summary`;
49+
const summaryUrl = `${this.baseUrl}/summary?time_offset=${new Date().getTimezoneOffset()}`;
5050
return this.http.get<TimeEntriesSummary>(summaryUrl);
5151
}
5252

0 commit comments

Comments
 (0)