bbovenzi commented on PR #23173:
URL: https://github.com/apache/airflow/pull/23173#issuecomment-1108539378

   > Would the decimal places always show, even when the duration is long? 
Ideally I’d only want them when the duration is <1 and not if it’s e.g. 105.378 
seconds.
   
   Yes, and this also breaks down when duration is better shown as minutes, 
hours or even days. Overall, how we display durations in the UI is inconsistent 
and we should consolidate down to one format. I was playing around with that 
here: https://github.com/apache/airflow/pull/22996/files
   
   What do you think of choosing the most important unit and then limiting to 
just 2 decimal places:
   <img width="78" alt="Screen Shot 2022-04-25 at 8 59 59 AM" 
src="https://user-images.githubusercontent.com/4600967/165094270-c0935f9c-9913-4f36-a4d0-cb052e903f1b.png";>
   <img width="72" alt="Screen Shot 2022-04-25 at 8 59 55 AM" 
src="https://user-images.githubusercontent.com/4600967/165094272-83383e90-1c60-421b-960f-27d8afae05d3.png";>
   
   


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