Skip to content

Releases: arqex/react-datetime

Version 3.1.1

06 Sep 15:51
8071a79
Compare
Choose a tag to compare
  • Fixes fatal error when typing misformatted dates in the input.

Version 3.1.0

06 Sep 15:27
Compare
Choose a tag to compare
  • Adds support for react 17

Version 3.0.3

21 Sep 16:24
Compare
Choose a tag to compare
  • Localize AM and PM strings
  • Make calendar fluid width
  • Fixes findDOMNode deprecated warning in Strict Mode - Thanks @kkalve
  • Simplification of the base code - Thanks @onlined

Version 3.0.2

20 Sep 11:43
Compare
Choose a tag to compare
  • Fixes typescript typings not being exposed publicly

Version 3.0.1

19 Sep 15:31
Compare
Choose a tag to compare
  • Big refactor, the state is not derived from the props after every update.
  • disableCloseOnClickOutside prop is now closeOnClickOutside (avoid double negations).
  • onBlur and onFocus are renamed to onClose and onOpen since they had nothing to do with the blur event and it was misleading some users. If we want to listen to the input's onBlur and onFocus use inputProps.
  • defaultValue prop is now called initialValue.
  • Updated typescript definitions.
  • Time is not updated anymore on right clicks.
  • Creates renderView prop to customize the whole calendar.
  • Creates updateOnView prop to decide when to update the date.
  • onViewModeChange prop renamed to onNavigate.
  • Creates onBeforeNavigate prop.
  • Creates setViewData and navigate methods.
  • Fixes error clicking on days from the previous or next month in the days view.
  • Fixes month, year and time views for locales that doesn't use gregorian numbers.
  • Adds a playground to make simpler to try out the library by npm run playground.
  • Not depending on gulp to create the build anymore
  • Updated most of the dependencies.

v3 Beta 6

22 Jan 11:07
Compare
Choose a tag to compare
v3 Beta 6 Pre-release
Pre-release
Renames updateViewMode to navigate. Create v3 docs. Removes demo and …

…example

Version 2.16.2

22 Oct 08:18
Compare
Choose a tag to compare
  • Turns moment timezone peer dependency in a runtime error when missing using displayTimezone.

Version 2.16.1

19 Oct 08:37
Compare
Choose a tag to compare
  • Fixes problems with input event overriding

Version 2.16.0

18 Oct 13:58
Compare
Choose a tag to compare
  • The prop disableOnClickOutside has been renamed to disableCloseOnClickOutside
  • The calendar doesn't get closed an open when clicking in the input anymore.
  • Fixes errors not finding dates when customizing day rendering.
  • Event listeners in inputProps now only override default behaviour when returning false.
  • Adds the displayTimeZone prop. Thanks to @martingordon

Version 2.15.0

18 Oct 09:36
Compare
Choose a tag to compare
  • New onNavigateBack and onNavigateForward hooks thanks to @DaanDD and @simeg.
  • Touch improvements by @NicoDos
  • TS and debugging improvements