Skip to content

Commit

Permalink
style: change date format to decrease length
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Apr 3, 2024
1 parent 775204f commit 5f8eb94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/search/FilterComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const CalendarFilter = (props: CalendarFilterProps) => {
>
<CalendarIcon className="mr-2 h-4 w-4" />
{startDate ? (
format(startDate, "PPP")
format(startDate, "PP")
) : (
<span>Start date</span>
)}
Expand Down Expand Up @@ -153,7 +153,7 @@ export const CalendarFilter = (props: CalendarFilterProps) => {
>
<CalendarIcon className="mr-2 h-4 w-4" />
{endDate ? (
format(endDate, "PPP")
format(endDate, "PP")
) : (
<span>End date</span>
)}
Expand Down

0 comments on commit 5f8eb94

Please sign in to comment.