MCPcopy Create free account
hub / github.com/answer19981/MiniHand / getTimeLeft

Function getTimeLeft

cloudfunctions/mcloud/framework/utils/time_util.js:294–325  ·  view source on GitHub ↗

* 取倒计时(天时分秒) 支持时间戳或者Y-M-D/Y-M-D h:m:s * @param {*} datetimeTo * @param {*} flag 1=正 -1=负

(datetimeTo, flag = 1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected