Skip to content

Releases: v0ltoz/react-datetimepicker

Twelve Hour Mode

02 Oct 09:14
Compare
Choose a tag to compare

Support for 12-hour mode in the date-time picker.

Thanks to steverob for the Pull Request :)

Change Start and End Props Bug Fix

23 Sep 11:57
Compare
Choose a tag to compare

Fixes a bug whereby if you change the start and end dates then the labels and calendar would not update as expected

deprecated componentWillMount

06 Apr 09:50
Compare
Choose a tag to compare

React 16, componentWillMount is deprecated and console is filled with below warning.

Warning: componentWillMount has been renamed, and is not recommended for us. Please update the following components: DateTimeRangeContainer.

Thanks to LakshmiVeejai for the PR 🥇

secondSupport

27 Oct 16:42
Compare
Choose a tag to compare

With this release comes better support for seconds. To use this feature set the local format to include seconds e.g. 'DD-MM-YYYY HH:mm:ss' . That way the date picker will show your second values in the input boxes.

standaloneMode & forceMobileMode

10 Oct 14:28
Compare
Choose a tag to compare

Introduction of two new features:

forceMobileMode (optional) {bool}
When set the mobile/condense breakpoint will be ignored meaning the component will stay in condensed mode all the time.

standaloneMode (optional) {bool}
When set the picker will be open by default and follow the styling given. This config option requires the below config styling to also be present in order to style the div

style={{
standaloneLayout:{display:'flex', maxWidth:'fit-content'}
}}

noMobileMode and leftMode

24 Jul 19:52
Compare
Choose a tag to compare

Introducing no mobile mode, when the prop is set then no matter what the screen size will remain in full screen mode and will not go into its reduced state.

Left mode allows you to open the picker Right to Left instead of the traditional Left to Right approach. This feature is in BETA

Major Release: Non Smart Mode, Dark Mode, Custom Styling

30 Jun 14:46
Compare
Choose a tag to compare

Introducing Non-Smart mode, A more traditional Calendar performance whereby the LHS is for From days only and the RHS is for to dates only. This is now the DEFAULT option for the picket. Smart mode must be enabled through the use of props.

Dark mode enabled through the use of the dark mode property.

Custom styling enabled for the calendar and the range buttons.

Support for React 16.8.1

07 May 17:54
Compare
Choose a tag to compare

New support for React 16.8.1.

React 15.6.2 remains supported also with this release.

Added RangeCallback, AutoApply and carried out a depedency audit

06 May 16:11
Compare
Choose a tag to compare

This release brings the ability to have a Range Callback function which is called when a new Range is clicked/selected.

AutoApply can be set. When set the apply button is removed. Instead, every click fires the apply callback

Fixed dependency security issues.