@iclips/ui 1.3.40 → 1.3.41

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/index.js CHANGED
@@ -59555,7 +59555,7 @@ function zR(t) {
59555
59555
  if (i.length !== 2) continue;
59556
59556
  const a = J1(i[0]), o = J1(i[1]);
59557
59557
  if (a && o)
59558
- return ki(a.getFullYear(), a.getMonth() + 1) <= ki(o.getFullYear(), o.getMonth() + 1) ? { from: a, to: o } : { from: o, to: a };
59558
+ return ki(a.getFullYear(), a.getMonth() + 1) > ki(o.getFullYear(), o.getMonth() + 1) ? null : { from: a, to: o };
59559
59559
  }
59560
59560
  return null;
59561
59561
  }