A datetime picker for your React app.
MIT License
disableCalendar
prop.aria-label
s on each input and button. See README for details.MMM
(short month) and MMMM
(long month) in format
prop.amPm
mistakenly required when there is a possibility of it being null if value
is null too (#59).fill
properties.format
prop which allows to overwrite default date format determined either from locale
prop or automatically. See README for details.document.body
) on both axis (unlike previously, just on Y axis).src
directory instead of default dist
, Parcel will properly recognize it and use proper Babel configuration.zh-CN
locale (#42).See Upgrade guide from version 1.x to 2.x.
<span />
element with react-datetime-picker__inputGroup__leadingZero
class name for easier styling.DateTimeInput
component that will allow for more refined styling of React-DateTime-Picker along with React-DateTimeRange-Picker.onClick
, onKeyDown
...) directly to React-DateTime-Picker root.calendarIcon
and clearIcon
.zh-CN
locale.react-calendar
dependency which fixes crash on IE11.get-user-locale
dependency which fixes uncaught error on IE11 caused by Array.prototype.includes not being implemented.get-user-locale
to get user's locale data. This should be more reliable, especially on macOS/iOS prior to 10.2.onChange
with null
value, just like clearing it with clear button does.All dependencies have been updated and new Airbnb ESLint rules have been enforced.
zh-CN
(#15).Updated react-lifecycles-compat to the newest version. There are no user- or developer-facing changes.