changes
This commit is contained in:
10
app/components/common/FormatDate.vue
Normal file
10
app/components/common/FormatDate.vue
Normal file
@@ -0,0 +1,10 @@
|
||||
<script setup>
|
||||
const { $dayjs } = useNuxtApp();
|
||||
const props = defineProps({
|
||||
date: String,
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span>{{ $dayjs(date).format("L") }}</span>
|
||||
</template>
|
||||
Reference in New Issue
Block a user