@rotorsoft/act 1.32.3 → 1.32.4

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
@@ -809,7 +809,7 @@ function next_window_open(window, now) {
809
809
  const boundary = new Date(
810
810
  candidate.getTime() - candidate.getTime() % 36e5
811
811
  );
812
- if (is_dst_gap_open(boundary, window.timeZone, window.start))
812
+ if (boundary.getTime() >= start_ms && is_dst_gap_open(boundary, window.timeZone, window.start))
813
813
  return boundary;
814
814
  }
815
815
  return new Date(start_ms + 864e5);