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:
2 files changed
+2
No files matched your search
@@ -1,5 +1,6 @@
|
|||||||
export const tooltipDateFormatLookup = (dateRange) => {
|
export const tooltipDateFormatLookup = (dateRange) => {
|
||||||
const dateFormatLookup = {
|
const dateFormatLookup = {
|
||||||
|
recent: "ddd. MMMM D, YYYY, hh:mm A",
|
||||||
day: "ddd. MMMM D, YYYY, hh:mm A",
|
day: "ddd. MMMM D, YYYY, hh:mm A",
|
||||||
week: "ddd. MMMM D, YYYY, hh:mm A",
|
week: "ddd. MMMM D, YYYY, hh:mm A",
|
||||||
month: "ddd. MMMM D, YYYY",
|
month: "ddd. MMMM D, YYYY",
|
||||||
|
|||||||
@@ -121,6 +121,7 @@ const InfrastructureDetails = () => {
|
|||||||
<AreaChartBoxes
|
<AreaChartBoxes
|
||||||
shouldRender={!isLoading}
|
shouldRender={!isLoading}
|
||||||
monitor={monitor}
|
monitor={monitor}
|
||||||
|
dateRange={dateRange}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in new issue
Block a user