diff options
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Queue/Model/QueueStats.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Queue/Model/QueueStats.cs b/win/CS/HandBrakeWPF/Services/Queue/Model/QueueStats.cs index 237bd0b1c..6295bab15 100644 --- a/win/CS/HandBrakeWPF/Services/Queue/Model/QueueStats.cs +++ b/win/CS/HandBrakeWPF/Services/Queue/Model/QueueStats.cs @@ -126,7 +126,7 @@ namespace HandBrakeWPF.Services.Queue.Model return string.Empty; } - return PausedDuration.ToString("hh\\:mm\\:ss"); + return this.PausedDuration.Days >= 1 ? string.Format(@"{0:d\:hh\:mm\:ss}", this.PausedDuration) : string.Format(@"{0:hh\:mm\:ss}", this.PausedDuration); } } @@ -152,7 +152,7 @@ namespace HandBrakeWPF.Services.Queue.Model return string.Empty; } - return this.Duration.ToString("hh\\:mm\\:ss"); + return this.Duration.Days >= 1 ? string.Format(@"{0:d\:hh\:mm\:ss}", this.Duration) : string.Format(@"{0:hh\:mm\:ss}", this.Duration); } } |