@yuuvis/client-core 2.3.29 → 2.3.30

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.
@@ -408,8 +408,8 @@ var ClassificationPrefix;
408
408
  })(ClassificationPrefix || (ClassificationPrefix = {}));
409
409
 
410
410
  class Utils {
411
- static { this.DEFAULT_RANGE_TIME_V1 = 'T00:00:00.000'; }
412
- static { this.DEFAULT_RANGE_TIME_V2 = 'T23:59:59.000'; }
411
+ static { this.DEFAULT_RANGE_TIME_V1 = 'T00:00:00.000Z'; }
412
+ static { this.DEFAULT_RANGE_TIME_V2 = 'T23:59:59.000Z'; }
413
413
  static { this.DEFAULT_TIME_OFFSET_V2 = (60000 * 60 * 24) - 1; } // T+23:59:59:999
414
414
  static optionsToURLParams(options) {
415
415
  if (options) {
@@ -4970,8 +4970,8 @@ class SearchUtils {
4970
4970
  static getMatchingDateRange(rangeValue) {
4971
4971
  return SearchUtils.dateRanges.find((dateRange) => {
4972
4972
  const { start, end } = SearchUtils.dateRangeStartEnd(dateRange);
4973
- return (rangeValue.firstValue === start.toISOString().split('T')[0] + Utils.DEFAULT_RANGE_TIME_V1 &&
4974
- rangeValue.secondValue === end.toISOString().split('T')[0] + Utils.DEFAULT_RANGE_TIME_V2);
4973
+ return (rangeValue.firstValue.toISOString() === start.toISOString().split('T')[0] + Utils.DEFAULT_RANGE_TIME_V1 &&
4974
+ rangeValue.secondValue.toISOString() === end.toISOString().split('T')[0] + Utils.DEFAULT_RANGE_TIME_V2);
4975
4975
  });
4976
4976
  }
4977
4977
  // Files size ranges