Skip to content

Commit 6594571

Browse files
committed
Fix timezones
1 parent 206f8d8 commit 6594571

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/calendar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export default function calendarRouter(domain: string): express.Router {
7070
cal.createEvent({
7171
summary: `${activity.name} ${getSportIcon(activity)}`,
7272
location: location,
73+
timezone: startTime.tz(),
7374
start: startTime,
7475
end: moment(startTime).add(activity.elapsed_time, 'seconds'),
7576
url: `https://strava.com/activities/${activity.id}`,

0 commit comments

Comments
 (0)