mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-26 04:33:01 +01:00
parent
a2050803a2
commit
cfbb4a3235
@ -7,7 +7,8 @@ function formatTimeSpan(timeSpan) {
|
||||
}
|
||||
|
||||
const duration = moment.duration(timeSpan);
|
||||
const days = duration.get('days');
|
||||
|
||||
const days = Math.floor(duration.asDays());
|
||||
const hours = padNumber(duration.get('hours'), 2);
|
||||
const minutes = padNumber(duration.get('minutes'), 2);
|
||||
const seconds = padNumber(duration.get('seconds'), 2);
|
||||
|
Loading…
Reference in New Issue
Block a user