UNPKG

@fifteen/design-system-vue

Version:

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

18 lines (17 loc) 397 B
const s = { lastWeek: (t) => { const e = t.getDay(); return "'" + (e === 0 || e === 6 ? "último" : "última") + "' eeee 'às' p"; }, yesterday: "'ontem às' p", today: "'hoje às' p", tomorrow: "'amanhã às' p", nextWeek: "eeee 'às' p", other: "P" }, r = (t, e, a, n) => { const o = s[t]; return typeof o == "function" ? o(e) : o; }; export { r as formatRelative };