Skip to content

Scheduling infrastructure for absolutely everyone.

Fixes month name

zomars2983fb4c1236
diff --git a/packages/ui/booker/DatePicker.tsx b/packages/ui/booker/DatePicker.tsx
index ad7f555bd72..5ea94c0a984 100644
--- a/packages/ui/booker/DatePicker.tsx
+++ b/packages/ui/booker/DatePicker.tsx
@@ -136,11 +136,7 @@ const DatePicker = ({
<span className="w-1/2 dark:text-white">
{browsingDate ? (
<>
- <strong className="text-bookingdarker dark:text-white">
- {browsingDate.toDate().toLocaleString(locale, {
- month: "long",
- })}
- </strong>{" "}
+ <strong className="text-bookingdarker dark:text-white">{browsingDate.format("MMMM")}</strong>{" "}
<span className="text-bookinglight">{browsingDate.format("YYYY")}</span>
</>
) : (