cx 25.1.1 → 25.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/manifest.js +767 -767
- package/dist/widgets.js +3 -2
- package/package.json +1 -1
- package/src/widgets/form/MonthPicker.js +3 -2
package/dist/widgets.js
CHANGED
|
@@ -10805,8 +10805,9 @@ var MonthPicker = /*#__PURE__*/ (function (_Field) {
|
|
|
10805
10805
|
if (this.range) {
|
|
10806
10806
|
if (data.from) data.from = monthStart(parseDateInvariant(data.from));
|
|
10807
10807
|
if (data.to) {
|
|
10808
|
-
|
|
10809
|
-
if (this.inclusiveTo)
|
|
10808
|
+
var date = parseDateInvariant(data.to);
|
|
10809
|
+
if (this.inclusiveTo) date.setDate(date.getDate() + 1);
|
|
10810
|
+
data.to = monthStart(date);
|
|
10810
10811
|
}
|
|
10811
10812
|
}
|
|
10812
10813
|
if (data.refDate) data.refDate = monthStart(parseDateInvariant(data.refDate));
|
package/package.json
CHANGED
|
@@ -79,8 +79,9 @@ export class MonthPicker extends Field {
|
|
|
79
79
|
if (data.from) data.from = monthStart(parseDateInvariant(data.from));
|
|
80
80
|
|
|
81
81
|
if (data.to) {
|
|
82
|
-
|
|
83
|
-
if (this.inclusiveTo)
|
|
82
|
+
let date = parseDateInvariant(data.to);
|
|
83
|
+
if (this.inclusiveTo) date.setDate(date.getDate() + 1);
|
|
84
|
+
data.to = monthStart(date);
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
87
|
|