st-comp 0.0.67 → 0.0.68

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/lib/bundle.js CHANGED
@@ -38669,7 +38669,7 @@ const Rue = { class: "kline-tips" }, Fue = {
38669
38669
  let x = -1, w = -1, M = {};
38670
38670
  return n.time.forEach((C, L) => {
38671
38671
  const R = C.split(" ")[0];
38672
- M[R] = M[R] || 0, M[R] += 1, new Date(C) >= new Date(c) && x === -1 && (x = L), new Date(C) <= new Date(g) && (w = L);
38672
+ M[R] = M[R] || 0, M[R] += 1, x === -1 && (new Date(C) === new Date(c) ? x = L : new Date(C) > new Date(c) && (x = L - 1)), w === -1 && new Date(C) >= new Date(g) && (w = L);
38673
38673
  }), {
38674
38674
  startValue: x,
38675
38675
  endValue: w,