chore: format pubish date
This commit is contained in:
@@ -13,5 +13,5 @@ const date = useDateFormat(article.date, "Do of MMMM YYYY");
|
|||||||
<ULink class="font-semibold hover:underline" :to="article._path">{{
|
<ULink class="font-semibold hover:underline" :to="article._path">{{
|
||||||
article.title
|
article.title
|
||||||
}}</ULink>
|
}}</ULink>
|
||||||
<div class="text-xs text-slate-500">Published at {{ date }}</div>
|
<div class="text-xs text-slate-500">{{ date }}</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const { path } = useRoute();
|
|||||||
as="article"
|
as="article"
|
||||||
>
|
>
|
||||||
<div class="text-sm text-slate-500">
|
<div class="text-sm text-slate-500">
|
||||||
Published at {{ formatDate(new Date(doc.date), "Do of MMMM YYYY") }}
|
{{ formatDate(new Date(doc.date), "Do of MMMM YYYY") }}
|
||||||
</div>
|
</div>
|
||||||
<h1>{{ doc.title }}</h1>
|
<h1>{{ doc.title }}</h1>
|
||||||
</UContainer>
|
</UContainer>
|
||||||
|
|||||||
Reference in New Issue
Block a user