react-datepicker
Advanced tools
Comparing version 6.1.0 to 6.2.0
@@ -5,3 +5,3 @@ { | ||
"description": "A simple and reusable datepicker component for React", | ||
"version": "6.1.0", | ||
"version": "6.2.0", | ||
"license": "MIT", | ||
@@ -88,3 +88,3 @@ "homepage": "https://github.com/Hacker0x01/react-datepicker", | ||
"rollup-plugin-uglify": "^6.0.4", | ||
"sass": "1.70.0", | ||
"sass": "1.71.1", | ||
"sass-loader": "^14.0.0", | ||
@@ -91,0 +91,0 @@ "slugify": "^1.6.6", |
@@ -86,3 +86,3 @@ # React Date Picker | ||
The date picker relies on [date-fns internationalization](https://date-fns.org/v2.0.0-alpha.18/docs/I18n) to localize its display components. By default, the date picker will use the locale globally set, which is English. Provided are 3 helper methods to set the locale: | ||
The date picker relies on [date-fns internationalization](https://date-fns.org/v3.3.1/docs/I18n) to localize its display components. By default, the date picker will use the locale globally set, which is English. Provided are 3 helper methods to set the locale: | ||
@@ -95,3 +95,3 @@ - **registerLocale** (string, object): loads an imported locale object from date-fns | ||
import { registerLocale, setDefaultLocale } from "react-datepicker"; | ||
import es from 'date-fns/locale/es'; | ||
import { es } from 'date-fns/locale/es'; | ||
registerLocale('es', es) | ||
@@ -98,0 +98,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
562604
3948
0
5