formatKeptAt
Formats when a recovery copy was kept, in the user’s locale.
Import:
import { formatKeptAt } from '@mnaoumov/obsidian-lib/modals/settings-recovery-copies';Signature:
function formatKeptAt(keptAt: number): stringParameters:
| Parameter | Type | Description |
|---|---|---|
keptAt |
number | When the copy was kept, in milliseconds since the Unix epoch. |
Returns: string — The formatted date and time.