pierrejeambrun commented on code in PR #55339:
URL: https://github.com/apache/airflow/pull/55339#discussion_r2371828305
##########
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:
That's not working. It's not taking into account the timezone.
Also it always show a wrong value for me:
<img width="614" height="456" alt="Screenshot 2025-09-23 at 12 18 02"
src="https://github.com/user-attachments/assets/42535f84-37ef-4cd0-bb68-9e12c7ec2b6e"
/>
<img width="647" height="468" alt="Screenshot 2025-09-23 at 12 18 11"
src="https://github.com/user-attachments/assets/6bd2dd5e-316e-4791-b0a2-b818fc150156"
/>
--
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]