Skip to content

Commit

Permalink
Fix timezones
Browse files Browse the repository at this point in the history
  • Loading branch information
c-harding committed Nov 24, 2024
1 parent 0b1ccf6 commit 1cc17e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export default function calendarRouter(domain: string): express.Router {
cal.createEvent({
summary: `${activity.name} ${getSportIcon(activity)}`,
location: location,
timezone: startTime.tz(),
start: startTime,
end: moment(startTime).add(activity.elapsed_time, 'seconds'),
url: `https://strava.com/activities/${activity.id}`,
Expand Down

0 comments on commit 1cc17e2

Please sign in to comment.