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

react-date-time-group

Package Overview
Dependencies
Maintainers
8
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-date-time-group - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

5

CHANGELOG.md
# Changelog
## V4.2.0
- Add showMonthDropdown prop for showing a month dropdown
- Add showYearDropdown prop for showing a year dropdown
- Update react-datepicker from 0.23.1 to 0.39.0
## v4.1.0

@@ -4,0 +9,0 @@ - Update react-time-select from 2.2.1 to 2.3.0.

7

dist/DateTimeGroup.js

@@ -38,3 +38,5 @@ 'use strict';

timeId: React.PropTypes.string,
seperateHourMins: React.PropTypes.bool
seperateHourMins: React.PropTypes.bool,
showMonthDropdown: React.PropTypes.bool,
showYearDropdown: React.PropTypes.bool
},

@@ -141,2 +143,5 @@

React.createElement(DatePicker, {
fixedHeight: true,
showMonthDropdown: this.props.showMonthDropdown,
showYearDropdown: this.props.showYearDropdown,
name: this.props.dateName,

@@ -143,0 +148,0 @@ selected: moment(this.props.value),

4

doc/example.js

@@ -47,3 +47,5 @@ 'use strict';

dateId="dateWithDateOptions"
timeId="timeWithDateOptions" />
timeId="timeWithDateOptions"
showMonthDropdown={true}
showYearDropdown={true} />

@@ -50,0 +52,0 @@ <h1>Options for time (value shared with "Events")</h1>

{
"name": "react-date-time-group",
"version": "4.1.0",
"version": "4.2.0",
"description": "Datepicker with optional time",

@@ -26,3 +26,3 @@ "main": "dist/DateTimeGroup.js",

"react-bootstrap": "^0.28.2",
"react-datepicker": "^0.23.1",
"react-datepicker": "0.39.0",
"react-dom": "^0.14.2",

@@ -45,3 +45,3 @@ "react-time-select": "^2.2.1"

"istanbul": "^0.4.2",
"jsdom": "^3.1.2",
"jsdom": "^11.2.0",
"less": "2.7.2",

@@ -48,0 +48,0 @@ "make-up": "^7.1.0",

@@ -27,2 +27,4 @@ # react-date-time-group

- __dateId__ - Optional id for the date field.
- __showMonthDropdown__ - Show a month dropdown on the calendar.
- __showYearDropdown__ - Shows a year dropdown on the calendar.

@@ -29,0 +31,0 @@ ### Time options

@@ -36,3 +36,5 @@ 'use strict';

timeId: React.PropTypes.string,
seperateHourMins: React.PropTypes.bool
seperateHourMins: React.PropTypes.bool,
showMonthDropdown: React.PropTypes.bool,
showYearDropdown: React.PropTypes.bool
},

@@ -132,2 +134,5 @@

<DatePicker
fixedHeight={true}
showMonthDropdown={this.props.showMonthDropdown}
showYearDropdown={this.props.showYearDropdown}
name={this.props.dateName}

@@ -153,1 +158,2 @@ selected={moment(this.props.value)}

module.exports = DateTimeGroup;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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