wuyanan

ref |> 竖屏直播时长不足一分钟,显示为0时1分

... ... @@ -504,10 +504,10 @@ export class DateTimeUtils {
}
static liveDurationSecondToTime(seconds: number) {
let time = ''
if (seconds < 60) {
return '0时0分'
return '0时1分'
}
let time = ''
let days = Math.floor(seconds/this.SECONDS_IN_DAY)
let hours = Math.floor(seconds%this.SECONDS_IN_DAY/this.SECONDS_IN_HOUR)
... ...