dashboard
repositories
filestore
activity
search
login
scapegoat
/
Docs2
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
fix tag pages to emit to tag/index.html to override content and folder pages
Jacky Zhao
2023-07-20
01d7d8e55448abe0a929d8730c735bed5d929048
[scapegoat/Docs2.git]
/
quartz
/
components
/
Date.tsx
1
2
3
4
5
6
7
8
9
10
11
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}</>
}