Show interval anchor time in timer metadata
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s

This commit is contained in:
Shinuwa 2026-08-03 16:06:00 +02:00
parent a6b2388763
commit 828532bcc4

View file

@ -78,7 +78,7 @@ function getCountdownMetaParts(countdown, textContent) {
if (countdown.type === "interval") {
const startLabel = countdown.startMode === "time" && countdown.startTime
? `${textContent.intervalStartTimeLabel || "Départ"} ${countdown.startTime}`
: textContent.intervalStartNowOption || "Maintenant";
: `${textContent.intervalStartTimeLabel || "Départ"} ${formatTargetTime(countdown.anchorAt)}`;
return [`${textContent.intervalType || "Intervalle"} ${formatDuration(countdown.intervalMs || 0)}`, startLabel];
}
return [];