mirror of
https://github.com/Xevion/undefined.behavio.rs.git
synced 2025-12-16 16:13:48 -06:00
Use date-fns for parsing pubDate, use Date instead of string
This commit is contained in:
@@ -11,7 +11,7 @@ const posts = await getCollection("blog");
|
||||
<Summary
|
||||
url={`/posts/${post.slug}`}
|
||||
description={post.data.description}
|
||||
date={new Date()}
|
||||
date={post.data.pubDate}
|
||||
title={post.data.title}
|
||||
tags={post.data.tags}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user