@nulogy/components 6.6.2 → 6.6.3
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/main.js +1 -1
- package/dist/main.module.js +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -43626,7 +43626,7 @@
|
|
|
43626
43626
|
var error;
|
|
43627
43627
|
|
|
43628
43628
|
if (endDate && startDate) {
|
|
43629
|
-
if (isBefore$1(endDate, startDate)) {
|
|
43629
|
+
if (isBefore$1(endDate, startDate) && (showTimes || !isSameDay$1(endDate, startDate))) {
|
|
43630
43630
|
error = "end date is before start date";
|
|
43631
43631
|
}
|
|
43632
43632
|
|
package/dist/main.module.js
CHANGED
|
@@ -43600,7 +43600,7 @@ var DateRange = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
43600
43600
|
var error;
|
|
43601
43601
|
|
|
43602
43602
|
if (endDate && startDate) {
|
|
43603
|
-
if (isBefore$1(endDate, startDate)) {
|
|
43603
|
+
if (isBefore$1(endDate, startDate) && (showTimes || !isSameDay$1(endDate, startDate))) {
|
|
43604
43604
|
error = "end date is before start date";
|
|
43605
43605
|
}
|
|
43606
43606
|
|