Styles the blog posts themselves
This commit is contained in:
@@ -6,13 +6,12 @@ interface Props {
|
||||
const { date } = Astro.props;
|
||||
---
|
||||
|
||||
<time datetime={date.toISOString()}>
|
||||
<time datetime={date.toISOString()} class="text-medium">
|
||||
{
|
||||
// date.toLocaleDateString('en-us', {
|
||||
// year: 'numeric',
|
||||
// month: 'short',
|
||||
// day: 'numeric',
|
||||
// })
|
||||
date.toISOString()
|
||||
date.toLocaleDateString("en-us", {
|
||||
year: "numeric",
|
||||
month: "short",
|
||||
day: "numeric",
|
||||
})
|
||||
}
|
||||
</time>
|
||||
|
||||
Reference in New Issue
Block a user