aboutsummaryrefslogtreecommitdiff
path: root/lume/src/_components
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-05-27 09:14:27 -0400
committerXe Iaso <me@xeiaso.net>2024-05-27 09:14:27 -0400
commitb045736a19d3a45a2fdf86853f451fc69047d083 (patch)
tree67a1f0c83730a3a9886aeab98747c61de2c10174 /lume/src/_components
parent6a8b390b612d46e9d00eda9b513277b6cd575573 (diff)
downloadxesite-b045736a19d3a45a2fdf86853f451fc69047d083.tar.xz
xesite-b045736a19d3a45a2fdf86853f451fc69047d083.zip
fix formatting of the end date on /events
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume/src/_components')
-rw-r--r--lume/src/_components/EventCard.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lume/src/_components/EventCard.jsx b/lume/src/_components/EventCard.jsx
index aa34b04..d8b604c 100644
--- a/lume/src/_components/EventCard.jsx
+++ b/lume/src/_components/EventCard.jsx
@@ -23,7 +23,7 @@ export default ({ name, url, start_date, end_date, location, description }) => {
</h2>
<div className="card-content text-fg-1 dark:text-fgDark-1">
<p>
- {location} - {startDate} {start_date.seconds !== end_date.seconds ? `thru ${endDate})}` : ""}
+ {location} - {startDate} {start_date.seconds !== end_date.seconds ? `thru ${endDate}` : ""}
</p>
<p className="prose dark:prose-invert">
{description}
@@ -31,4 +31,4 @@ export default ({ name, url, start_date, end_date, location, description }) => {
</div>
</div>
);
-}; \ No newline at end of file
+};