The following errors with a FormatException:
<td class="numeric">@String.Format("{0:hh:mm:ss}", testrun.ExecutionTime)</td>
Where ExecutionTime
is a TimeSpan. This format string is valid. Is this a bug or am I missing something obvious (given the late hour - the latter is probably it).
Try escaping the :
String.Format("{0:hh\\:mm\\:ss}", testrun.ExecutionTime)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With