UNPKG

@fifteen/design-system-vue

Version:

Vue 3 (Composition API + Typescript) implementation of the Fifteen Design System

34 lines (33 loc) 624 B
import { buildFormatLongFn as t } from "../../_lib/buildFormatLongFn.js"; const m = { full: "EEEE, d MMMM, y", long: "d MMMM, y", medium: "d MMM, y", short: "d/M/yy" }, a = { full: "a h:mm:ss zzzz", long: "a h:mm:ss z", medium: "a h:mm:ss", short: "a h:mm" }, e = { full: "{{date}} {{time}}", long: "{{date}} {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" }, d = { date: t({ formats: m, defaultWidth: "full" }), time: t({ formats: a, defaultWidth: "full" }), dateTime: t({ formats: e, defaultWidth: "full" }) }; export { d as formatLong };