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


##########
airflow-core/src/airflow/ui/src/components/DurationChart.tsx:
##########
@@ -236,6 +236,9 @@ export const DurationChart = ({
               stacked: true,
               ticks: {
                 maxTicksLimit: 3,
+                callback: (value) => {
+                  return(dayjs(value).format(getLabelFormat(entries)))
+                }

Review Comment:
   Might need some refinement, but you can use something like this:
   
   ```typescript
                   callback: (_value, index) =>
                     formatDate((entries)[index]?.run_after, selectedTimezone, 
"HH:mm:ss"),
   ```
   
   <img width="606" height="563" alt="Screenshot 2025-10-13 at 18 15 21" 
src="https://github.com/user-attachments/assets/1dc3a4d3-9ea3-4489-9aa3-405a7fc04a09";
 />
   
   



-- 
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