diff --git a/DailyStatus.UI/ViewModel/StatusViewModel.cs b/DailyStatus.UI/ViewModel/StatusViewModel.cs index 62206b9..3b3fb5b 100644 --- a/DailyStatus.UI/ViewModel/StatusViewModel.cs +++ b/DailyStatus.UI/ViewModel/StatusViewModel.cs @@ -74,7 +74,7 @@ public string StatusString { var sign = "-"; sign = Diff.TotalHours < 0 ? sign : ""; - return $"{sign}{Math.Abs(Diff.TotalHours):0}:{Math.Abs(Diff.Minutes):00}"; + return $"{sign}{Math.Abs(Diff.Days * 24 + Diff.Hours):0}:{Math.Abs(Diff.Minutes):00}"; } else {