Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-datetime

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-datetime - npm Package Versions

1
79

1.2.1

Diff

Changelog

Source

1.2.1

  • Removed classlist-polyfill so the component can be used in the server side.
arqex
published 1.2.0 •

arqex
published 1.1.1 •

Changelog

Source

1.1.1

  • Updates react-onclickoutside dependency to avoid the bug https://github.com/Pomax/react-onclickoutside/issues/20
arqex
published 1.1.0 •

Changelog

Source

1.1.0

  • Datepicker can have an empty value. If the value in the input is not valid, onChange and onBlur will return input value.
  • onBlur is not triggered anymore if the calendar is not open.
arqex
published 1.0.0 •

Changelog

Source

1.0.0-rc.2

  • Added travis CI
  • Fixed not showing timepicker when dateFormat=false.
arqex
published 1.0.0-rc.1 •

Changelog

Source

1.0.0-rc.1

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:

  • date prop is now called defaultValue and it is the initial value to use the component uncontrolled.
  • value prop has been added to use it as a controlled component.
  • Removed minDate and maxDate props. Now to define what dates are valid it is possible to use the new isValidDate prop.
  • 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.

Moreover:

  • Buttons doesn't submit anymore when the Datetime component is in a form.
  • className prop has been added to customize component class.
arqex
published 0.5.0 •

arqex
published 0.4.3 •

arqex
published 0.4.2 •

arqex
published 0.4.1 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc