mirror of
https://github.com/PlayEdu/h5.git
synced 2025-12-29 14:09:48 +08:00
会员中心学习时间不显示天
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user