From 5ac2bfe7b551ba8c768d9f5d11f317518a226007 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Wed, 5 Mar 2025 11:19:18 -0800 Subject: [PATCH 1/9] add recent date format --- src/Components/Charts/Utils/chartUtilFunctions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Components/Charts/Utils/chartUtilFunctions.js b/src/Components/Charts/Utils/chartUtilFunctions.js index 70f5ac9c3..d8ec6cdb6 100644 --- a/src/Components/Charts/Utils/chartUtilFunctions.js +++ b/src/Components/Charts/Utils/chartUtilFunctions.js @@ -13,6 +13,7 @@ export const tooltipDateFormatLookup = (dateRange) => { export const tickDateFormatLookup = (dateRange) => { const tickFormatLookup = { + recent: "h:mm A", day: "h:mm A", week: "MM/D, h:mm A", month: "ddd. M/D", From 65343e1e4b5ab8e630e3c93e0ffc71b29f294470 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Wed, 5 Mar 2025 11:19:48 -0800 Subject: [PATCH 2/9] Add recent to header --- src/Components/MonitorTimeFrameHeader/index.jsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/Components/MonitorTimeFrameHeader/index.jsx b/src/Components/MonitorTimeFrameHeader/index.jsx index e43d63494..9ac8b8b6a 100644 --- a/src/Components/MonitorTimeFrameHeader/index.jsx +++ b/src/Components/MonitorTimeFrameHeader/index.jsx @@ -20,6 +20,13 @@ const MonitorTimeFrameHeader = ({ if (hasDateRange) { timeFramePicker = ( +