UNPKG

@fifteen/design-system-vue

Version:

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

31 lines (30 loc) 545 B
import { buildFormatLongFn as t } from "../../_lib/buildFormatLongFn.js"; const m = { full: "EEEE, do 'de' MMMM y", long: "y-MMMM-dd", medium: "y-MMM-dd", short: "yyyy-MM-dd" }, o = { full: "Ho 'horo kaj' m:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" }, d = { any: "{{date}} {{time}}" }, s = { date: t({ formats: m, defaultWidth: "full" }), time: t({ formats: o, defaultWidth: "full" }), dateTime: t({ formats: d, defaultWidth: "any" }) }; export { s as formatLong };