Skip to content

Releases: wojtekmaj/react-time-picker

v2.8.0

07 Oct 09:23
Compare
Choose a tag to compare

What's new?

  • You can now attach event props (onClick, onKeyDown...) directly to React-Time-Picker root.
  • Updated documentation to make it clear how to remove clockIcon and clearIcon.

What's changed?

  • Auto resizing input fields mechanism has been improved.

Bug fixes

  • Removed needless update when the user clicked somewhere on the screen while the calendar in React-Time-Picker was closed.

v2.7.2

11 Sep 17:23
Compare
Choose a tag to compare

What's changed?

  • Updated all dependencies.

Bug fixes

  • Fixed TimeInput not working properly on older (<16.3) versions of React.
  • Updated get-user-locale dependency which fixes uncaught error on IE11 caused by Array.prototype.includes not being implemented.

v2.7.1

10 Sep 17:48
Compare
Choose a tag to compare

Bug fixes

  • Fixed clock icon shown when disableClock flag is set to true (#11).

v2.7.0

03 Sep 16:06
Compare
Choose a tag to compare

What's new?

  • Added disableClock flag that, well, disables clock (#9, #10). Thanks, @twinraven!

Bug fixes

  • Fix min/max values not properly applied to MinuteInput, SecondInput.
  • Fix an issue with validating forms when minTime was more detailed than the user could choose (e.g. minTime="23:41:20" and maxDetail="hour").

v2.6.0

19 Aug 08:50
Compare
Choose a tag to compare

What's changed?

  • React-Time-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.

v2.5.2

03 Aug 18:08
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 time as UTC, instead of local user's time.
  • Fixed native input allowing to change seconds if maxDetail was set to minute.

v2.5.1

17 Jul 06:40
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.

v2.5.0

15 Jul 16:01
Compare
Choose a tag to compare

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 (#3).

Bug fixes

  • Fixed font in default styling not properly inherited
  • Fixed potential issues with displaying inputs on locales largely different from American/European, like zh-CN.

v2.4.2

12 Jun 19:45
Compare
Choose a tag to compare

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

Bug fixes

  • Fixed TimeInput not working properly on older (<16.3) versions of React.

v2.4.1

12 Jun 18:52
Compare
Choose a tag to compare

Emergency update to fix common issues that were caused by breaking changes introduced in React 16.4.0.

What's new?

  • You can now hide clearIcon and clockIcon by setting them explicitly to null.

Bug fixes

  • Fixed clock appearing behind the date picker in specific situation where two time pickers were placed one below the other.