Skip to content

Commit

Permalink
change shows date display
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo committed May 23, 2024
1 parent af75be5 commit 6c49550
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/components/Shows/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export const Shows: React.FC<Props> = ({ shows, ...props }) => (
);

const ShowComponent: React.FC<{ show: Show }> = ({ show }) => {
const label = `${format(new Date(show.date), "PP", { locale: enUS })} | ${
show.location
}`;
const label = `${format(new Date(show.date), "PPP", {
locale: enUS,
})} | ${show.location}`;
return (
<li>
{show.link ? (
Expand Down
2 changes: 1 addition & 1 deletion app/routes/_index/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ul.shows {
display: flex;
flex-direction: column;
align-items: center;
row-gap: 0.5rem;
row-gap: 1.5rem;
list-style: none;
padding: 0;
margin: 0;
Expand Down

0 comments on commit 6c49550

Please sign in to comment.