Skip to content

Commit

Permalink
[event tracker] start the meeting earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
BrightDV committed Oct 27, 2023
1 parent c6a8959 commit 1dad520
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/api/event_tracker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,16 @@ class EventTracker {
eventAsJson['seasonContext']['timetables'][0]['gmtOffset'];
DateTime meetingStartDate = DateTime.parse(
eventAsJson['race']['meetingStartDate'].substring(0, 23),
).toLocal();
).toLocal().subtract(
const Duration(
hours: 8,
),
);
DateTime meetingEndDate = DateTime.parse(
eventAsJson['race']['meetingEndDate'].substring(0, 23),
).toLocal().add(
const Duration(
hours: 4,
hours: 8,
),
);

Expand Down

0 comments on commit 1dad520

Please sign in to comment.