MCPcopy Create free account
hub / github.com/Semporia/Scripts / secondToDate

Function secondToDate

activity/jd_nian.js:861–866  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

859 console.log(`白天关卡:${info.dayAward}元红包,完成进度 ${info.dayTotalValue}/${info.dayTargetSell}`)
860 else {
861 function secondToDate(result) {
862 var h = Math.floor(result / 3600);
863 var m = Math.floor((result / 60 % 60));
864 var s = Math.floor((result % 60));
865 return h + "小时" + m + "分钟" + s + "秒";
866 }
867
868 console.log(`守护关卡:${info.guardAward}元红包,剩余守护时间:${secondToDate(info.guardTime / 5)}`)
869 }

Callers 1

pkInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected