diff --git a/TrxerConsole/Trxer.xslt b/TrxerConsole/Trxer.xslt index 1ada859..d6db067 100644 --- a/TrxerConsole/Trxer.xslt +++ b/TrxerConsole/Trxer.xslt @@ -40,7 +40,7 @@ public string ToExactTimeDefinition(string duration) { - return ToExtactTime(TimeSpan.Parse(duration).TotalMilliseconds); + return string.IsNullOrWhiteSpace(duration) ? ToExtactTime(0) : ToExtactTime(TimeSpan.Parse(duration).TotalMilliseconds); } public string ToExactTimeDefinition(string start,string finish) @@ -351,7 +351,7 @@
Time |
---|