@fifteen/design-system-vue
Version:
Vue 3 (Composition API + Typescript) implementation of the Fifteen Design System
34 lines (33 loc) • 645 B
JavaScript
import { buildFormatLongFn as t } from "../../_lib/buildFormatLongFn.js";
const m = {
full: "EEEE, d. MMMM yyyy.",
long: "d. MMMM yyyy.",
medium: "d. MMM yy.",
short: "dd. MM. yy."
}, d = {
full: "HH:mm:ss (zzzz)",
long: "HH:mm:ss z",
medium: "HH:mm:ss",
short: "HH: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
};