npm react-day-picker 9.12.0
v9.12.0

one day ago

This release adds translated labels to built-in locales and fixes issues with array modifiers and the Hebrew calendar.

Translated Locales

DayPicker locales now ship with localized labels (e.g., “Go to next month”, “Today”), so you no longer need to supply them via labels. To use a locale:

import { es } from "react-day-picker/locale";
<DayPicker locale={es} /> // Use Spanish locale, now with translated labels.

If you previously set the labels prop for translations, you can remove it. For details on switching locales, see https://daypicker.dev/localization/changing-locale.

What's Changed

  • feat: add locale-aware labels and translated locale wrappers by @gpbl in #2861
  • fix: match Date[] modifiers by day by @gpbl in #2865
  • fix: correct Hebrew date conversion timezone handling by @gpbl in #2870

Full Changelog: v9.11.3...v9.12.0

Don't miss a new react-day-picker release

NewReleases is sending notifications on new releases.