rc-calendar
Advanced tools
Comparing version 9.10.10 to 9.11.0
@@ -44,4 +44,3 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
var newEnd = end && end.isSame(start, 'month') ? end.clone().add(1, 'month') : end; | ||
return [start, newEnd]; | ||
return [start, end]; | ||
} | ||
@@ -838,3 +837,3 @@ | ||
return month.isSameOrAfter(value[1], 'month'); | ||
return month.isAfter(value[1], 'month'); | ||
}; | ||
@@ -845,3 +844,3 @@ | ||
return month.isSameOrBefore(value[0], 'month'); | ||
return month.isBefore(value[0], 'month'); | ||
}; | ||
@@ -848,0 +847,0 @@ }; |
# History | ||
---- | ||
## 9.11.0 / 2019-03-14 | ||
- RangerPicker can select same month | ||
## 9.10.0 / 2019-01-02 | ||
@@ -5,0 +9,0 @@ |
@@ -92,4 +92,3 @@ 'use strict'; | ||
var newEnd = end && end.isSame(start, 'month') ? end.clone().add(1, 'month') : end; | ||
return [start, newEnd]; | ||
return [start, end]; | ||
} | ||
@@ -886,3 +885,3 @@ | ||
return month.isSameOrAfter(value[1], 'month'); | ||
return month.isAfter(value[1], 'month'); | ||
}; | ||
@@ -893,3 +892,3 @@ | ||
return month.isSameOrBefore(value[0], 'month'); | ||
return month.isBefore(value[0], 'month'); | ||
}; | ||
@@ -896,0 +895,0 @@ }; |
{ | ||
"name": "rc-calendar", | ||
"version": "9.10.10", | ||
"version": "9.11.0", | ||
"description": "React Calendar", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
1522004
23118