function formatSecond(second) {
const days = Math.floor(second / 86400);
const hours = Math.floor((second % 86400) / 3600);
const minutes = Math.floor(((second % 86400) % 3600) / 60);
const seconds = Math.floor(((second % 86400) % 3600) % 60);
const forMatDate = {
days: days,
hours: hours,
minutes: minutes,
seconds: seconds
};
return forMatDate;
}
333

被折叠的 条评论
为什么被折叠?



