@fifteen/design-system-vue
Version:
Vue 3 (Composition API + Typescript) implementation of the Fifteen Design System
34 lines (33 loc) • 621 B
JavaScript
import { buildFormatLongFn as t } from "../../_lib/buildFormatLongFn.js";
const m = {
full: "y. MMMM d., EEEE",
long: "y. MMMM d.",
medium: "y. MMM d.",
short: "y. MM. dd."
}, d = {
full: "H:mm:ss zzzz",
long: "H:mm:ss z",
medium: "H:mm:ss",
short: "H:mm"
}, e = {
full: "{{date}} {{time}}",
long: "{{date}} {{time}}",
medium: "{{date}} {{time}}",
short: "{{date}} {{time}}"
}, a = {
date: t({
formats: m,
defaultWidth: "full"
}),
time: t({
formats: d,
defaultWidth: "full"
}),
dateTime: t({
formats: e,
defaultWidth: "full"
})
};
export {
a as formatLong
};