diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-05-27 09:14:27 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-05-27 09:14:27 -0400 |
| commit | b045736a19d3a45a2fdf86853f451fc69047d083 (patch) | |
| tree | 67a1f0c83730a3a9886aeab98747c61de2c10174 /lume/src/_components | |
| parent | 6a8b390b612d46e9d00eda9b513277b6cd575573 (diff) | |
| download | xesite-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.jsx | 4 |
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 +}; |
