diff --git a/tools/oversight/slicer.js b/tools/oversight/slicer.js index 8dee6046..f9a826b5 100644 --- a/tools/oversight/slicer.js +++ b/tools/oversight/slicer.js @@ -317,7 +317,7 @@ async function loadData(config) { const endDate = params.get('endDate') ? `${params.get('endDate')}` : null; if (startDate && endDate) { - dataChunks.load(await loader.fetchPeriod(startDate, endDate)); + dataChunks.load(await loader.fetchPeriod(`${startDate} 00:00:00`, `${endDate} 23:59:59`)); } else if (scope === 'week') { dataChunks.load(await loader.fetchLastWeek(endDate)); } else if (scope === 'month') { diff --git a/tools/rum/slicer.js b/tools/rum/slicer.js index 332ad517..c28aca28 100644 --- a/tools/rum/slicer.js +++ b/tools/rum/slicer.js @@ -273,7 +273,7 @@ async function loadData(config) { const endDate = params.get('endDate') ? `${params.get('endDate')}` : null; if (startDate && endDate) { - dataChunks.load(await loader.fetchPeriod(startDate, endDate)); + dataChunks.load(await loader.fetchPeriod(`${startDate} 00:00:00`, `${endDate} 23:59:59`)); } else if (scope === 'week') { dataChunks.load(await loader.fetchLastWeek(endDate)); } else if (scope === 'month') {