@bitcobblers/wod-wiki-lang 0.56.2210 → 0.58.2220

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/react.cjs CHANGED
@@ -822,7 +822,10 @@ function buildTooltip(metric) {
822
822
  if (metric.value !== void 0) parts.push(`Value: ${metric.value}`);
823
823
  if (metric.origin) parts.push(`Origin: ${metric.origin}`);
824
824
  if (metric.sourceBlockKey) parts.push(`Block: ${metric.sourceBlockKey}`);
825
- if (metric.timestamp) parts.push(`Time: ${metric.timestamp.toISOString()}`);
825
+ if (metric.timestamp) {
826
+ const ts = metric.timestamp instanceof Date ? metric.timestamp : new Date(metric.timestamp);
827
+ if (!Number.isNaN(ts.getTime())) parts.push(`Time: ${ts.toISOString()}`);
828
+ }
826
829
  return parts.join("\n");
827
830
  }
828
831
  var COLUMN_LABEL_MAP = {
@@ -1313,7 +1316,7 @@ function projectSessionClock(runtime, options = {}) {
1313
1316
  secondaryTimers,
1314
1317
  upNext: readNextPreviewText(blocks),
1315
1318
  repTargets: extractRepTargets(blocks),
1316
- isRunning: isAnyTimerRunning || status === "running",
1319
+ isRunning: !isWaitingToStart && (isAnyTimerRunning || status === "running"),
1317
1320
  isPaused,
1318
1321
  isNextDisabled: isPaused || options.canNextOverride === false,
1319
1322
  skipFlash,