Fixed regression introduced when date.format() was removed (#5265)

bugfix/busy-time-from-collective-bookings^2
Alex van Andel 2022-10-28 20:13:15 +01:00 committed by GitHub
parent 9f362db60c
commit ce04f78a56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ const AvailableTimes: FC<AvailableTimesProps> = ({
{nameOfDay(i18n.language, Number(date.format("d")), "short")}
</span>
<span className="text-bookinglight font-medium">
, {date.toDate().toLocaleString(i18n.language, { month: "long", day: "numeric" })}
, {date.toDate().toLocaleString(i18n.language, { month: "long" })} {date.format(" D ")}
</span>
</div>
<div className="ml-auto">