Skip to content

Commit

Permalink
Add timezone property to calendar events and tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunkomath committed Jan 8, 2025
1 parent 543be87 commit b725489
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/(api)/api/calendar/[ownerId]/[projectId]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export async function GET(
created: event.createdAt,
lastModified: event.updatedAt,
repeating: event.repeatRule,
timezone: "UTC",
});
}

Expand All @@ -81,6 +82,7 @@ export async function GET(
allDay: true,
created: task.createdAt,
lastModified: task.updatedAt,
timezone: "UTC",
});
}
}
Expand Down

0 comments on commit b725489

Please sign in to comment.