marquex
2015-07-24 0d9dc7d77f8e5fb48c1b10ac5508cb400fc076fd
commit | author | age
8abb28 1 Changelog
M 2 =========
3
4 ## 1.0.0-rc.1
5 This is the release candidate for this project. Now it is pretty usable and API won't change drastically in a while. If you were using the alpha versions (v0.x) there is a bunch of breaking changes:
6
7 * `date` prop is now called `defaultValue` and it is the initial value to use the component uncontrolled.
8 * `value` prop has been added to use it as a [controlled component](https://facebook.github.io/react/docs/forms.html#controlled-components).
9 * Removed `minDate` and `maxDate` props. Now to define what dates are valid it is possible to use the new `isValidDate` prop.
10 * `dateFormat` and `timeFormat` default value is always the locale default format. In case that you don't want the component to show the date/time picker you should set `dateFormat`/`timeFormat` to `false`.
11
12 Moreover:
13 * Buttons doesn't submit anymore when the Datetime component is in a form.
14 * `className` prop has been added to customize component class.
15
16
17
18