Files
upstream-jitsi-meet/react/features/time-timer/functions.native.ts
upstream-mirror 1d2bfcac0c
Some checks failed
Prosody Plugin Tests / test (push) Failing after 10m11s
Close stale issues and PRs / stale (push) Failing after 1s
snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
2026-09-15 15:56:32 +05:00

18 lines
585 B
TypeScript

import { getLocalizedDurationFormatter } from '../base/i18n/dateUtil';
import i18next from '../base/i18n/i18next';
export * from './functions.any';
/**
* Description for the "Timer ended" notification on native: a plain string.
* The middleware re-posts it each tick so the overrun counter stays live.
*
* @param {number} overSeconds - Seconds over the scheduled end.
* @returns {string}
*/
export function buildTimerEndedDescription(overSeconds: number) {
return i18next.t('timeTimer.endedOver', {
time: getLocalizedDurationFormatter(overSeconds * 1000)
});
}