import{b as c,Y as v,f as t,aZ as l}from"./app-DyK1k-lL.js";const b=()=>{const{dayjs:r}=c(),{t:m}=v(),u=t([{name:m("common.january"),value:"01"},{name:m("common.february"),value:"02"},{name:m("common.march"),value:"03"},{name:m("common.april"),value:"04"},{name:m("common.may"),value:"05"},{name:m("common.june"),value:"06"},{name:m("common.july"),value:"07"},{name:m("common.august"),value:"08"},{name:m("common.september"),value:"09"},{name:m("common.october"),value:"10"},{name:m("common.november"),value:"11"},{name:m("common.december"),value:"12"}]),s=t([{name:m("common.monday"),value:"Monday"},{name:m("common.tuesday"),value:"Tuesday"},{name:m("common.wednesday"),value:"Wedensday"},{name:m("common.thursday"),value:"Thrusday"},{name:m("common.friday"),value:"Friday"},{name:m("common.saturday"),value:"Saturday"},{name:m("common.sunday"),value:"Sunday"}]);return{monthArrays:u,getMonthNameByNumber:a=>{var e=parseInt(a);e=e<=9?"0"+e:""+e;const n=l(u.value,{value:e});return n?n.name:"-"},formatMinutes:a=>{if(a>0){var e=Math.floor(a/60),n=a%60,o="";return e>0&&(o+=`${e} ${m("attendance.hours")} `),n>0&&(o+=`${n} ${m("attendance.minutes")}`),o}else return"-"},formatShiftTime24Hours:a=>r(a,"hh:mm A").format("HH:mm:ss"),formatShiftTime12Hours:a=>r(a,"HH:mm:ss").format("hh:mm A"),weekDays:s}};export{b as h};
