UNPKG

@fifteen/design-system-vue

Version:

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

34 lines (33 loc) 643 B
import { buildFormatLongFn as t } from "../../_lib/buildFormatLongFn.js"; const m = { full: "y'年'M'月'd'日' EEEE", long: "y'年'M'月'd'日'", medium: "yyyy-MM-dd", short: "yy-MM-dd" }, d = { full: "zzzz a h:mm:ss", long: "z a h:mm:ss", medium: "a h:mm:ss", short: "a h:mm" }, a = { full: "{{date}} {{time}}", long: "{{date}} {{time}}", medium: "{{date}} {{time}}", short: "{{date}} {{time}}" }, o = { date: t({ formats: m, defaultWidth: "full" }), time: t({ formats: d, defaultWidth: "full" }), dateTime: t({ formats: a, defaultWidth: "full" }) }; export { o as formatLong };