Skip to content

Commit

Permalink
update mentor email to use their tz
Browse files Browse the repository at this point in the history
  • Loading branch information
c0repwn3r committed Nov 9, 2024
1 parent 996f62c commit 2e57cdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scheddy",
"version": "0.0.8",
"version": "0.0.9",
"type": "module",
"scripts": {
"dev": "vite dev",
Expand Down
4 changes: 2 additions & 2 deletions src/routes/(authed)/schedule/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ export const actions: Actions = {
type: typename
});
const mentorEmailContent = new_session({
startTime: start.setZone(timezone.toString()),
timezone: timezone.toString(),
startTime: start.setZone(mentor.timezone),
timezone: mentor.timezone,
studentName: user.firstName + ' ' + user.lastName,
duration,
sessionId: id,
Expand Down

0 comments on commit 2e57cdd

Please sign in to comment.