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">{{
|
||||
article.title
|
||||
}}</ULink>
|
||||
<div class="text-xs text-slate-500">Published at {{ date }}</div>
|
||||
<div class="text-xs text-slate-500">{{ date }}</div>
|
||||
</template>
|
||||
|
||||
@@ -16,7 +16,7 @@ const { path } = useRoute();
|
||||
as="article"
|
||||
>
|
||||
<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>
|
||||
<h1>{{ doc.title }}</h1>
|
||||
</UContainer>
|
||||
|
||||
Reference in New Issue
Block a user