UNPKG

@fifteen/design-system-vue

Version:

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

2 lines (1 loc) 480 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o={lastWeek:e=>{switch(e.getDay()){case 6:return"'το προηγούμενο' eeee 'στις' p";default:return"'την προηγούμενη' eeee 'στις' p"}},yesterday:"'χθες στις' p",today:"'σήμερα στις' p",tomorrow:"'αύριο στις' p",nextWeek:"eeee 'στις' p",other:"P"},a=(e,r)=>{const t=o[e];return typeof t=="function"?t(r):t};exports.formatRelative=a;