PronounsPage/app/components/DateWords.vue
Valentyne Stigloher 10180aa6a3 (refactor) use #shared alias instead of ~~/shared
the #shared alias used by Nuxt cannot be easily disabled and to prevent breackage with jiti, we make use of it
2025-08-17 18:56:02 +02:00

18 lines
437 B
Vue

<script setup lang="ts">
import type { Day } from '#shared/calendar/helpers.ts';
defineProps<{
day: Day;
inline?: boolean;
}>();
const DateLocal = useLocaleComponent('calendar', 'DateLocal');
</script>
<template>
<span>
<Spelling :text="$t('calendar.date', { year: day.year, date: $t(`calendar.dates.${day.month}`, { day: day.day }) })" />
<DateLocal :day="day" :inline="inline" />
</span>
</template>