You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/22 15:19:14 UTC

[GitHub] [airflow] aschoe21 commented on issue #23169: Task Duration shows as "empty" when it was really less than 1 second

aschoe21 commented on issue #23169:
URL: https://github.com/apache/airflow/issues/23169#issuecomment-1106618017

   I think I found an easy solution to this. The problem seems to be that, by default, moment's diff method truncates decimal places resulting in a rounded-down integer, so if execution time is less than a full second it will appear as 0. Luckily the diff method accepts an optional argument to disable this functionality. I'll get on making a PR ASAP.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org