Skip to content
ts
import { formatLocaleTime } from '@trail-run/core/time/helpers';

Function: formatLocaleTime()

ts
function formatLocaleTime(meetTime): string;

Defined in: src/time/helpers.ts:26

Formats a 24hr (HH:MM) into a locale-specific time string

E.g., "14:30" -> "2:30 PM"

Parameters

meetTime

string

Returns

string

Released under the MIT License.