Skip to content

Commit c2c06e2

Browse files
committed
fix: PublishedAt logic
1 parent cfbaf43 commit c2c06e2

File tree

1 file changed

+1
-1
lines changed
  • reference/TubePlayer/src/TubePlayer/Business/Models

1 file changed

+1
-1
lines changed

reference/TubePlayer/src/TubePlayer/Business/Models/Models.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ private static string FormatLongNumber(long number) =>
2727

2828
private static string ToFriendlyString(TimeSpan elapsedTime)
2929
{
30-
double minutesElapsed = elapsedTime.TotalMinutes;
30+
double minutesElapsed = Math.Abs(elapsedTime.TotalMinutes);
3131

3232
var result = minutesElapsed switch
3333
{

0 commit comments

Comments
 (0)