Skip to content

Commit f3f432c

Browse files
author
Honza Rychnovský
committedNov 12, 2017
Fix previous
1 parent 922ef10 commit f3f432c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎library/src/main/java/com/honzar/adtutils/library/DateTimeUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public static String getFormattedTimeDuration(Context context, long milliseconds
179179
builder.append(min);
180180
builder.append(":");
181181
}
182-
if (min > 0) {
182+
if (sec > 0) {
183183
builder.append(sec);
184184
builder.append(withMilliseconds ? "." : "");
185185
}

0 commit comments

Comments
 (0)
Please sign in to comment.