autoql-fe-utils 1.8.4 → 1.9.5

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.d.mts CHANGED
@@ -223,7 +223,7 @@ declare const DAYJS_PRECISION_FORMATS: {
223
223
  DATE_MINUTE: string;
224
224
  };
225
225
  declare const MAX_LEGEND_LABELS = 22;
226
- declare const MIN_HISTOGRAM_SAMPLE = 20;
226
+ declare const MIN_HISTOGRAM_SAMPLE = 5;
227
227
  declare const DEFAULT_AGG_TYPE = AggTypes.SUM;
228
228
  declare const AGG_TYPES: {
229
229
  SUM: AggType;
package/dist/index.d.ts CHANGED
@@ -223,7 +223,7 @@ declare const DAYJS_PRECISION_FORMATS: {
223
223
  DATE_MINUTE: string;
224
224
  };
225
225
  declare const MAX_LEGEND_LABELS = 22;
226
- declare const MIN_HISTOGRAM_SAMPLE = 20;
226
+ declare const MIN_HISTOGRAM_SAMPLE = 5;
227
227
  declare const DEFAULT_AGG_TYPE = AggTypes.SUM;
228
228
  declare const AGG_TYPES: {
229
229
  SUM: AggType;
@@ -15598,7 +15598,7 @@
15598
15598
  DATE_MINUTE: "ll h:mmA"
15599
15599
  };
15600
15600
  var MAX_LEGEND_LABELS = 22;
15601
- var MIN_HISTOGRAM_SAMPLE = 20;
15601
+ var MIN_HISTOGRAM_SAMPLE = 5;
15602
15602
  var DEFAULT_AGG_TYPE = "SUM" /* SUM */;
15603
15603
  var AGG_TYPES = {
15604
15604
  SUM: new AggType({
@@ -18835,7 +18835,9 @@
18835
18835
  return dateDayJS.format("ll");
18836
18836
  }
18837
18837
  if (rangeInHours < 24) {
18838
- return dateDayJS.format("ll HH:mm:ss UTC");
18838
+ const offset = dateDayJS.format("Z");
18839
+ const timezoneDisplay = offset === "+00:00" ? "UTC" : `UTC${offset}`;
18840
+ return `${dateDayJS.format("ll HH:mm:ss")} ${timezoneDisplay}`;
18839
18841
  }
18840
18842
  return dateDayJS.format("ll");
18841
18843
  };