MCPcopy Create free account
hub / github.com/dearancelan/MiniRun / timestamp2Time

Function timestamp2Time

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

* 毫秒时间戳转时间格式 * @param {*} unixtime 毫秒 * @param {*} format Y-M-D h:m:s * @param {*} diff 时区差异 毫秒

(unixtime, format = 'Y-M-D h:m:s', diff = 0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

timestame2AgoFunction · 0.70
timeFunction · 0.70
getDayFirstTimestampFunction · 0.70
getFirstOfWeekFunction · 0.70
getLastOfWeekFunction · 0.70
getLastOfMonthFunction · 0.70

Calls 1

formatNumberFunction · 0.70

Tested by

no test coverage detected