UNPKG

@fifteen/design-system-vue

Version:

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

19 lines (18 loc) 395 B
const a = { lastWeek: "'joan den' eeee, LT", yesterday: "'atzo,' p", today: "'gaur,' p", tomorrow: "'bihar,' p", nextWeek: "eeee, p", other: "P" }, o = { lastWeek: "'joan den' eeee, p", yesterday: "'atzo,' p", today: "'gaur,' p", tomorrow: "'bihar,' p", nextWeek: "eeee, p", other: "P" }, r = (e, t) => t.getHours() !== 1 ? o[e] : a[e]; export { r as formatRelative };