|
|
|
@ -12,7 +12,7 @@ export const useDay = () => { |
|
|
|
const store = useRootStore() |
|
|
|
const { language } = toRefs(store) |
|
|
|
|
|
|
|
const whichWeek = computed(() => days[language.value][date.value.getDay()]) |
|
|
|
const whichWeek = computed(() => days[language.value][date.getDay()]) |
|
|
|
|
|
|
|
return { date, whichWeek } |
|
|
|
return { whichWeek } |
|
|
|
} |
|
|
|
|