Skip to content

Commit

Permalink
Match previous hours display behavior - always display
Browse files Browse the repository at this point in the history
  • Loading branch information
FenPhoenix committed Jun 6, 2024
1 parent 243a0dc commit 68521b8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions AngelLoader/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4257,10 +4257,7 @@ static string FormatSize(ulong size) =>
string sep = CultureInfo.CurrentCulture.DateTimeFormat.TimeSeparator;
string final = playTime.ToString(@"mm\" + sep + "ss");
double totalHours = playTime.TotalHours;
if (totalHours >= 1.0d)
{
final = ((int)Math.Floor(totalHours)).ToStrInv() + sep + final;
}
final = ((int)Math.Floor(totalHours)).ToStrInv() + sep + final;
e.Value = final;
break;
}
Expand Down

0 comments on commit 68521b8

Please sign in to comment.