refactor: attendee scheduled email timezone (#22301)

This commit is contained in:
Lauris Skraucis
2025-07-08 10:16:22 +00:00
committed by GitHub
parent 35a8918ea9
commit 52f2c18800
@@ -73,13 +73,11 @@ ${getRichDescription(this.calEvent, this.t)}
}
protected getTimezone(): string {
// Timezone is based on the first attendee in the attendee list
// as the first attendee is the one who created the booking
return this.calEvent.attendees[0].timeZone;
return this.attendee.timeZone;
}
protected getLocale(): string {
return this.calEvent.attendees[0].language.locale;
return this.attendee.language.locale;
}
protected getInviteeStart(format: string) {