Skip to content

Commit

Permalink
Update DateSpan.tsx
Browse files Browse the repository at this point in the history
"Now" to "Present"
  • Loading branch information
josephdburdick authored Jun 14, 2024
1 parent ccc57ee commit 60a3fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/global/DateSpan.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type Props = {

export default function DateSpan({ date }: Props) {
const renderDate = (dateProp: string | null) => {
if (!dateProp) return "Now"
if (!dateProp) return "Present"

const date = new Date(dateProp)
const month = date.toLocaleString("default", {
Expand Down

0 comments on commit 60a3fd9

Please sign in to comment.