|
|
@@ -138,7 +138,13 @@ export default {
|
|
|
if (m > 60) {
|
|
|
const h = m / 60;
|
|
|
const mm = m % 60;
|
|
|
- return formatNumber(parseInt(h)) + ':' + formatNumber(parseInt(mm));
|
|
|
+ if (h >= 24) {
|
|
|
+ const hh = h % 24;
|
|
|
+ const d = h / 24;
|
|
|
+ return parseInt(d) + "d " + formatNumber(parseInt(hh)) + ':' + formatNumber(parseInt(mm));
|
|
|
+ } else {
|
|
|
+ return formatNumber(parseInt(h)) + ':' + formatNumber(parseInt(mm));
|
|
|
+ }
|
|
|
} else {
|
|
|
return '00:' + formatNumber(parseInt(minutes));
|
|
|
}
|