extent-framework / extentreports-csharp

Extent Reporting Library, .NET
http://extentreports.com
Apache License 2.0
50 stars 39 forks source link

Use v4 run duration format #219

Closed anshooarora closed 4 months ago

anshooarora commented 4 months ago

218

Version 4 had a cleaner representation of time taken for test:

<p class="duration text-sm">@test.RunDuration.ToString("''h'h:'m'm:'s's+'fff'ms'")</p> 
<span class="datetime">@test.StartTime.ToString("HH:mm:ss tt")</span>

Current version (5.0.4) shows it as following: <span>@timeTaken ms</span> where timeTaken = Math.Round(test.TimeTaken, 2);.