(input)
| 3 | // format a number of seconds into hours and minutes as appropriate |
| 4 | module.exports = function formatTime(t, options, roundToMultipleOf){ |
| 5 | function round(input) { |
| 6 | if (roundToMultipleOf) { |
| 7 | return roundToMultipleOf * Math.round(input / roundToMultipleOf); |
| 8 | } else { |
| 9 | return input |
| 10 | } |
| 11 | } |
| 12 | |
| 13 | // leading zero padding |
| 14 | function autopadding(v){ |
no outgoing calls
no test coverage detected
searching dependent graphs…