Skip to content

Commit

Permalink
Fix add the missing time to the next event when the event is not today.
Browse files Browse the repository at this point in the history
  • Loading branch information
dz-ai committed Nov 20, 2024
1 parent 3f17656 commit a5a1aa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NextEvent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ export default function NextEvent() {
<em>
{isEventToday
? `Today ${eventTime}`
: eventDate.toLocaleString('en-us', {
: `${eventDate.toLocaleString('en-us', {
day: 'numeric',
month: 'long',
year: 'numeric',
})}
})} - ${eventTime}`}
</em>
</h2>
<div className="venue">
Expand Down

0 comments on commit a5a1aa8

Please sign in to comment.