react-datetime-picker
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -69,2 +69,4 @@ 'use strict'; | ||
var defaultMinDate = new Date(-8.64e15); | ||
var defaultMaxDate = new Date(8.64e15); | ||
var allViews = ['hour', 'minute', 'second']; | ||
@@ -211,3 +213,2 @@ var className = 'react-datetime-picker__button__input'; | ||
maxDetail: this.props.maxDetail, | ||
minDate: this.props.minDate, | ||
showLeadingZeros: this.props.showLeadingZeros, | ||
@@ -354,4 +355,4 @@ value: this.state.month | ||
disabled: this.props.disabled, | ||
maxDate: this.props.maxDate, | ||
minDate: this.props.minDate, | ||
maxDate: this.props.maxDate || defaultMaxDate, | ||
minDate: this.props.minDate || defaultMinDate, | ||
name: this.props.name, | ||
@@ -435,4 +436,4 @@ onChange: this.onChangeNative, | ||
disabled: this.props.disabled, | ||
maxDate: this.props.maxDate, | ||
minDate: this.props.minDate, | ||
maxDate: this.props.maxDate || defaultMaxDate, | ||
minDate: this.props.minDate || defaultMinDate, | ||
onChange: this.onChange, | ||
@@ -439,0 +440,0 @@ onKeyDown: this.onKeyDown, |
{ | ||
"name": "react-datetime-picker", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "A date range picker for your React app.", | ||
@@ -5,0 +5,0 @@ "main": "dist/entry.js", |
@@ -25,2 +25,4 @@ import React, { PureComponent } from 'react'; | ||
const defaultMinDate = new Date(-8.64e15); | ||
const defaultMaxDate = new Date(8.64e15); | ||
const allViews = ['hour', 'minute', 'second']; | ||
@@ -175,4 +177,4 @@ const className = 'react-datetime-picker__button__input'; | ||
disabled: this.props.disabled, | ||
maxDate: this.props.maxDate, | ||
minDate: this.props.minDate, | ||
maxDate: this.props.maxDate || defaultMaxDate, | ||
minDate: this.props.minDate || defaultMinDate, | ||
onChange: this.onChange, | ||
@@ -303,3 +305,2 @@ onKeyDown: this.onKeyDown, | ||
maxDetail={this.props.maxDetail} | ||
minDate={this.props.minDate} | ||
showLeadingZeros={this.props.showLeadingZeros} | ||
@@ -444,4 +445,4 @@ value={this.state.month} | ||
disabled={this.props.disabled} | ||
maxDate={this.props.maxDate} | ||
minDate={this.props.minDate} | ||
maxDate={this.props.maxDate || defaultMaxDate} | ||
minDate={this.props.minDate || defaultMinDate} | ||
name={this.props.name} | ||
@@ -448,0 +449,0 @@ onChange={this.onChangeNative} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99838
2361