Skip to content

Commit a62fa0f

Browse files
authored
Merge pull request #15668 from vtjl10/dev
Fix date formatting in EventCard and correct typo in community event description
2 parents 273eab9 + 12dda1a commit a62fa0f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/EventCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const EventCard: React.FC<EventCardProps> = ({
2828
const locale = useLocale()
2929
const { t } = useTranslation("page-community")
3030

31-
const formatedDate = new Intl.DateTimeFormat(locale, {
31+
const formattedDate = new Intl.DateTimeFormat(locale, {
3232
day: "2-digit",
3333
month: "short",
3434
}).formatRange(
@@ -41,7 +41,7 @@ const EventCard: React.FC<EventCardProps> = ({
4141
<CardHeader className="flex flex-row items-center justify-center rounded-t-md border-b border-primary bg-[#FCFCFC] p-2 dark:bg-[#272627]">
4242
<CalendarDays className="me-2 size-6 text-2xl text-primary" />
4343
<span className="!mt-0 text-right text-sm text-primary">
44-
{formatedDate}
44+
{formattedDate}
4545
</span>
4646
</CardHeader>
4747
<div className="flex items-center justify-center">

src/data/community-events.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
"endDate": "2025-11-16",
213213
"href": "https://invisible.garden",
214214
"location": "Buenos Aires, Argentina",
215-
"description": "Pop-up dev city #1 - Ethereum | Zero Knowledge | Artificial Inteligence | Cybersecurity",
215+
"description": "Pop-up dev city #1 - Ethereum | Zero Knowledge | Artificial Intelligence | Cybersecurity",
216216
"imageUrl": "https://cdn.prod.website-files.com/6695a56b501ba1fda80ae466/67851f884a16785150e18e2c_Group%20116.svg"
217217
},
218218
{

0 commit comments

Comments
 (0)