# getRecurrenceSummary (@salmonui/scheduler)

> The getRecurrenceSummary function of @salmonui/scheduler: A localized one-line summary of a rule: "Every 2 weeks on Monday and Wednesday, until Dec 31, 2026". null or an empty rule reads as never; an invalid rule gives ''.

Canonical: https://salmonui.dev/docs/reference/scheduler/getRecurrenceSummary

```ts
import { getRecurrenceSummary } from '@salmonui/scheduler';
```

Entry index: https://salmonui.dev/docs/reference/scheduler (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/scheduler.md).

## Reference

Kind: function

```ts
function getRecurrenceSummary(input: RecurrenceRule | string | null, options?: RecurrenceSummaryOptions): string;
```

A localized one-line summary of a rule:
"Every 2 weeks on Monday and Wednesday, until Dec 31, 2026". `null` or
an empty rule reads as `never`; an invalid rule gives `''`.
