tag and folder pages
This commit is contained in:
1 parent
24348b24a9
commit
ba9f243728
25 files changed
+586
-123
No files matched your search
@@ -0,0 +1,12 @@
|
||||
interface Props {
|
||||
date: Date
|
||||
}
|
||||
|
||||
export function Date({ date }: Props) {
|
||||
const formattedDate = date.toLocaleDateString('en-US', {
|
||||
year: "numeric",
|
||||
month: "short",
|
||||
day: '2-digit'
|
||||
})
|
||||
return <>{formattedDate}</>
|
||||
}
|
||||
Reference in new issue
Block a user