Skip to content

Commit

Permalink
Merge pull request #985 from jduehring/scheduling-fix
Browse files Browse the repository at this point in the history
Use UTC consistently
  • Loading branch information
Arnei authored Jan 9, 2025
2 parents db02d14 + 3c94a24 commit 962a9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slices/eventSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ export const checkForConflicts = async (
device: device,
duration: duration.toString(),
end: endDate,
rrule: `FREQ=WEEKLY;BYDAY=${repeatOn.join()};BYHOUR=${startDate.getHours()};BYMINUTE=${startDate.getMinutes()}`,
rrule: `FREQ=WEEKLY;BYDAY=${repeatOn.join()};BYHOUR=${startDate.getUTCHours()};BYMINUTE=${startDate.getUTCMinutes()}`,
}
: {
start: startDate,
Expand Down

0 comments on commit 962a9e1

Please sign in to comment.