libraryFilters
function formatDate(iso): string;
Formats an ISO date for library tables.
| Parameter | Type | Description |
|---|---|---|
iso |
string | null |
ISO timestamp, or null. |
string
Locale short date, raw string on parse failure, or —.
function formatDuration(minutes): string;
Formats runtime minutes as Xh Ym (or — when unknown).
| Parameter | Type | Description |
|---|---|---|
minutes |
number | null |
Length in minutes, or null. |
string
Human-readable duration.
Generated from ui/src/lib at main · View as Markdown