<template>
  <div class="card__meta | flex">
    <time
      class="card__date | text-grey-700"
      :datetime="dayjs(date).format('YYYY-M-DD')"
      >{{ dayjs(date).format("DD MMMM YYYY") }}</time
    >
  </div>
</template>

<script setup>
import dayjs from "dayjs";
import "dayjs/locale/fr";

const { date } = defineProps({ date: String });
</script>
