Merge pull request #2829 from bluewave-labs/fix-timestamps-format

fix: add missing tooltip date format for 'recent' timeframe in charts
This commit is contained in:
Alexander Holliday
2025-08-21 11:39:13 -07:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
export const tooltipDateFormatLookup = (dateRange) => {
const dateFormatLookup = {
recent: "ddd. MMMM D, YYYY, hh:mm A",
day: "ddd. MMMM D, YYYY, hh:mm A",
week: "ddd. MMMM D, YYYY, hh:mm A",
month: "ddd. MMMM D, YYYY",

View File

@@ -121,6 +121,7 @@ const InfrastructureDetails = () => {
<AreaChartBoxes
shouldRender={!isLoading}
monitor={monitor}
dateRange={dateRange}
/>
</>
)}