Releases: wojtekmaj/react-datetime-picker
Releases · wojtekmaj/react-datetime-picker
v1.7.0
What's new?
- You can now attach event props (
onClick
,onKeyDown
...) directly to React-DateTime-Picker root. - Updated documentation to make it clear how to remove
calendarIcon
andclearIcon
.
What's changed?
- Auto resizing input fields mechanism has been improved (#33).
Bug fixes
- Removed needless update when the user clicked somewhere on the screen while the calendar in React-DateTime-Picker was closed.
v1.6.1
What's changed?
- Updated all dependencies.
Bug fixes
- Fixed the date being wrongly formatted on IE11 in
zh-CN
locale. - Fixed DateTimePicker not working properly on older (<16.3) versions of React.
- Updated
react-calendar
dependency which fixes crash on IE11. - Updated
get-user-locale
dependency which fixes uncaught error on IE11 caused by Array.prototype.includes not being implemented.
v1.6.0
v1.5.0
What's changed?
- React-DateTime-Picker now uses
get-user-locale
to get user's locale data. This should be more reliable, especially on macOS/iOS prior to 10.2.
v1.4.2
What's changed?
- Clearing inputs manually will call
onChange
withnull
value, just like clearing it with clear button does.
Bug fixes
- Fixed AM/PM dropdown not appearing on some locales (e.g. en-AU).
- Fixed native input (not visible for most users, stays hidden; it's there for accessibility purposes) treating date and time as UTC, instead of local user's time.
- Fixed native input allowing to change seconds if maxDetail was set to minute.
v1.4.1
v1.4.0
All dependencies have been updated and new Airbnb ESLint rules have been enforced.
What's new?
- Added support for 12-hour clock on supported locales (#1 via wojtekmaj/react-time-picker#3).
Bug fixes
- Fixed an issue with displaying inputs on locales largely different from American/European, like
zh-CN
(#15).
v1.3.5
v1.3.4
v1.3.3
Updated react-lifecycles-compat to the newest version. There are no user- or developer-facing changes.