Skip to content

Commit

Permalink
bug: hack fix to get Nov event back up
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Voccia committed Oct 12, 2024
1 parent 824d60d commit 43ffbec
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion app/components/EventDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,19 @@ export function EventDetails({
</article>
);
} catch (ex) {
// Hacky fix to get website back up for some reason
// does not like the date string: 2024-11-14T18:00:00.000-05:00
// I originally thought it might be the time zone -04 but that
// was not the case.
// after passed to new Date(string) in the
// home page even though this also happens on the
// events page and that is working fine.
// So hard coding for the moment until we
// can locate the reason the _index.tsx page
// is wonky...
return (
<article className={`event-details medium event-details-${weight}`}>
<h3 className="event-details-date">UNKNOWN</h3>
<h3 className="event-details-date">November 14</h3>
<p>{location}</p>
<ul className="event-details-topics">
{topics.map((topic) => (
Expand Down

0 comments on commit 43ffbec

Please sign in to comment.