Skip to content

Commit

Permalink
Attempt to suppress yahrzeit reminder location name
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Oct 21, 2024
1 parent 188ccb5 commit 8593bea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/yahrzeit.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,9 @@ export async function yahrzeitDownload(ctx) {
icalOpt.publishedTTL = false;
}
const icals = events2.map((ev) => new IcalEvent(ev, icalOpt));
for (const icalEv of icals) {
icalEv.locationName = undefined;
}
ctx.body = await icalEventsToString(icals, icalOpt);
} else if (extension == '.csv') {
const euro = Boolean(query.euro);
Expand Down

0 comments on commit 8593bea

Please sign in to comment.