会员中心学习时间不显示天

This commit is contained in:
unknown
2023-11-15 10:04:45 +08:00
parent e5315f621f
commit 19df4739ad
2 changed files with 6 additions and 21 deletions

View File

@@ -54,7 +54,6 @@ export function changeAppUrl(str: string) {
export function studyTimeFormat(dateStr: number) {
var d = moment.duration(dateStr / 1000, "seconds");
let value = [];
value.push(Math.floor(d.asDays()));
value.push(d.hours());
value.push(d.minutes());
value.push(d.seconds());