Show interval anchor time in timer metadata
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
This commit is contained in:
parent
a6b2388763
commit
828532bcc4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue