Skip to content

Commit 3999a3c

Browse files
authored
fix secondsRemaining in millisecondsToCronString
1 parent 941b5e4 commit 3999a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angular-hx-utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ angular.module('hxUtils', [])
5252
return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n;
5353
}
5454

55-
var timeString = pad(hours, 2) + ":" + pad(minutes, 2) + ":" + pad(seconds, 2);
55+
var timeString = pad(hours, 2) + ":" + pad(minutes, 2) + ":" + pad(secondsRemaining, 2);
5656

5757
if (neg)
5858
timeString = "-" + timeString;

0 commit comments

Comments
 (0)