parent
f725f89079
commit
524823d6df
@ -145,7 +145,7 @@ angular.module('myApp.filters', ['myApp.i18n'])
|
|||||||
|
|
||||||
var durationStr = (hours ? hours + ':' : '') + mins + ':' + secs
|
var durationStr = (hours ? hours + ':' : '') + mins + ':' + secs
|
||||||
|
|
||||||
durationStr = durationStr.replace(/:(\d(?::|$))/g, ':0\1')
|
durationStr = durationStr.replace(/:(\d(?::|$))/g, ':0$1')
|
||||||
|
|
||||||
return durationStr
|
return durationStr
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user