bbovenzi commented on code in PR #55339:
URL: https://github.com/apache/airflow/pull/55339#discussion_r2334226617


##########
airflow-core/src/airflow/ui/src/components/DurationChart.tsx:
##########
@@ -143,10 +145,16 @@ export const DurationChart = ({
               label: translate("durationChart.runDuration"),
             },
           ],
-          labels: entries.map((entry: RunResponse) => 
dayjs(entry.run_after).format("YYYY-MM-DD, hh:mm:ss")),
+          labels: entries.map((entry: RunResponse) => 
dayjs(entry.run_after).format("YYYY-MM-DD, hh:mm")),

Review Comment:
   I think we should actually check the date range the chart covers and adjust 
the labels accordingly to only show the most relevant info. If its over a week, 
we only show "MM-DD". If its within 24 hours we only show "hh:mm:ss"
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to