MCPcopy Create free account
hub / github.com/6dylan6/jdm / done

Method done

function/common.js:33–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 console.log(`=========== 脚本执行-北京时间(UTC+8):${new Date(new Date().getTime() + new Date().getTimezoneOffset()*60*1000 + 8*60*60*1000).toLocaleString()} ===========\n`)
32 }
33 done() {
34 let timestamp = new Date().getTime();
35 let work = ((timestamp - this.timestamp) / 1000).toFixed(2)
36 console.log(`=========================脚本执行完成,耗时${work}s============================\n`)
37 console.log(`🔔${this.name}, 结束!\n`)
38 }
39 notify(array) {
40 let text = '';
41 for (let i of array) {

Callers

nothing calls this directly

Calls 1

logMethod · 0.45

Tested by

no test coverage detected