dotnet / dotnet/msbuild

[Terminal Logger] Report final duration in hours/minutes/seconds when appropriate

Open
#8,782 1 comment 2 reactions 0 assignees View on GitHub
Area: Terminal Logger triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

> One more question:

![image](https://github.com/dotnet/msbuild/assets/10670590/380fce54-3964-496d-b45e-c2199374ef9f)

> Will we fix this to show humanly readable duration - as in `minutes:seconds`?

_Originally posted by @vitek-karas in https://github.com/dotnet/msbuild/issues/8781#issuecomment-1555231932_

The answer of course is yes - we should adjust the 'static' displays to react to thresholds and report hours and minutes appropriately. This would cover the 'completed project' summaries and the final build summary, but _not_ the 'live' trackers for each of the currently-building projects.

After 60 seconds we should switch to `MM:ss` format, and after 60 minutes we should switch to `HH:MM:ss` format.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.