fix(geplante-nachrichten): resolve {{date_range}} template variable in content builders
This commit is contained in:
@@ -391,6 +391,7 @@ async function buildAndSend(rule: ScheduledMessageRule): Promise<void> {
|
|||||||
const windowVars: Record<string, string> = {
|
const windowVars: Record<string, string> = {
|
||||||
date: formatDate(new Date()),
|
date: formatDate(new Date()),
|
||||||
window: `${formatDate(startDate)} – ${formatDate(endDate)}`,
|
window: `${formatDate(startDate)} – ${formatDate(endDate)}`,
|
||||||
|
date_range: `${formatDate(startDate)} – ${formatDate(endDate)}`,
|
||||||
month: formatMonth(startDate),
|
month: formatMonth(startDate),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user