Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions create-node-meeting-artifacts.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ program
.parse(process.argv);

// Step 1: Application configuration
process.env.TZ = 'UTC';

/** @type {import('./src/types').AppConfig} */
const config = {
...environmentConfig,
Expand Down
2 changes: 1 addition & 1 deletion src/calendar.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const findNextMeetingDate = async (allEvents, { properties }) => {

for (const event of filteredEvents) {
// Get all recurrences in our timeframe
event.rrule.options.tzid = event.tzid;
event.rrule.options.tzid = event.start?.tz;
const duringOurTimeframe = event.rrule.between(weekStart, weekEnd);

if (duringOurTimeframe.length > 0) {
Expand Down
Loading