Skip to content

Commit

Permalink
use hourCycle instead of hour12
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicarrojado committed Sep 1, 2023
1 parent 20757e9 commit 7f0c49a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api-hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function useGetLastAvailableSlotsDate() {
day: 'numeric',
hour: 'numeric',
minute: 'numeric',
hour12: true,
hourCycle: 'h12',
}).format(date);

setLastAvailableSlotsDate(formattedDate);
Expand Down

0 comments on commit 7f0c49a

Please sign in to comment.