fix(geplante-nachrichten): resolve {{date_range}} template variable in content builders

This commit is contained in:
Matthias Hochmeister
2026-04-17 14:24:47 +02:00
parent 968b24156b
commit 8ee2b9170d

View File

@@ -391,6 +391,7 @@ async function buildAndSend(rule: ScheduledMessageRule): Promise<void> {
const windowVars: Record<string, string> = {
date: formatDate(new Date()),
window: `${formatDate(startDate)} ${formatDate(endDate)}`,
date_range: `${formatDate(startDate)} ${formatDate(endDate)}`,
month: formatMonth(startDate),
};