create localized lists of months and days of the week.
const MONTH_LABELS = Array.from({ length: 12 }).map((_, i) => {
return new Date(0, i).toLocaleString("es", { month: "long" });
});
const DAY_OF_WEEK_LABELS = Array.from({ length: 7 }).map((_, i) => {
return new Date(0, 0, i).toLocaleString("es", {
weekday: "long",
});
});