rc-calendar
Advanced tools
Comparing version 9.13.1 to 9.13.2
@@ -713,3 +713,3 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
// Adjust month if date not align | ||
if (panelTriggerSource !== 'end' && mode[0] === 'date' && mode[1] === 'date' && endValue.isSame(value[0], 'month')) { | ||
if (!showTimePicker && panelTriggerSource !== 'end' && mode[0] === 'date' && mode[1] === 'date' && endValue.isSame(value[0], 'month')) { | ||
endValue = endValue.clone().add(1, 'month'); | ||
@@ -716,0 +716,0 @@ } |
@@ -761,3 +761,3 @@ 'use strict'; | ||
// Adjust month if date not align | ||
if (panelTriggerSource !== 'end' && mode[0] === 'date' && mode[1] === 'date' && endValue.isSame(value[0], 'month')) { | ||
if (!showTimePicker && panelTriggerSource !== 'end' && mode[0] === 'date' && mode[1] === 'date' && endValue.isSame(value[0], 'month')) { | ||
endValue = endValue.clone().add(1, 'month'); | ||
@@ -764,0 +764,0 @@ } |
{ | ||
"name": "rc-calendar", | ||
"version": "9.13.1", | ||
"version": "9.13.2", | ||
"description": "React Calendar", | ||
@@ -72,3 +72,3 @@ "keywords": [ | ||
"bootstrap": "~3.3.2", | ||
"dtslint": "^0.5.7", | ||
"dtslint": "^0.6.1", | ||
"enzyme": "^3.3.0", | ||
@@ -75,0 +75,0 @@ "enzyme-adapter-react-16": "^1.1.1", |
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
1530829