hungtsetse commented on issue #26110: URL: https://github.com/apache/airflow/issues/26110#issuecomment-1510184106
I just had an overview of this issue, and would like to get some suggestions for addressing properly. The chart of Task Duration is generating at server side as html and pass to Falsk for further rendering, so it can't get the selected timezone on browser. Epoch time was literally converted by `time.mktime` which is based off server local time. https://github.com/apache/airflow/blob/1cf1fc46e95c889c8c81bb2ed2c3f08a681bf7e3/airflow/www/views.py#L3083 Additionally, it's also happending on "Task Tries" and "Landing Times" tabs which generate charts with the similar approach. -- 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]
