pwdsudinym-ui commented on code in PR #55339:
URL: https://github.com/apache/airflow/pull/55339#discussion_r2335382865
##########
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:
Just wanted to double check, did you want to drop YYYY?
Also, there's a middle case where it's >24h but <7d, did you want to want
that to be hh:mm?
--
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]