Skip to content

Releases: wojtekmaj/react-datetime-picker

v1.7.0

07 Oct 09:52
Compare
Choose a tag to compare

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 and clearIcon.

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

11 Sep 17:43
Compare
Choose a tag to compare

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

03 Sep 16:58
Compare
Choose a tag to compare

What's new?

  • Added disableClock flag that, well, disables clock.

Bug fixes

  • Fixed min/max date not applied to time components properly (#31).
  • Fixed native input value not parsed properly in some cases.

v1.5.0

19 Aug 08:58
Compare
Choose a tag to compare

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

03 Aug 18:06
Compare
Choose a tag to compare

What's changed?

  • Clearing inputs manually will call onChange with null 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

17 Jul 07:07
Compare
Choose a tag to compare

Bug fixes

  • Fix an error causing hour 0 to be displayed as 0 am instead of 12 am in 12-hour time format (via React-Time-Picker update).

v1.4.0

16 Jul 17:22
Compare
Choose a tag to compare

All dependencies have been updated and new Airbnb ESLint rules have been enforced.

What's new?

Bug fixes

  • Fixed an issue with displaying inputs on locales largely different from American/European, like zh-CN (#15).

v1.3.5

04 Jul 06:48
Compare
Choose a tag to compare

Bug fixes

  • Fixed font in default styling not properly inherited
  • Fixed clock not closing on opening the calendar (#17, #18). Thanks, @innocentamadi!

v1.3.4

13 Jun 09:08
Compare
Choose a tag to compare

Bug fixes

  • Fixed uncaught TypeError when the user typed a date beyond maximum date allowed in JavaScript (#13).

v1.3.3

12 Jun 19:50
Compare
Choose a tag to compare

Updated react-lifecycles-compat to the newest version. There are no user- or developer-facing changes.