MCPcopy Create free account
hub / github.com/WhiteSevs/TamperMonkeyScript / formatTime

Method formatTime

vite.utils.ts:161–205  ·  view source on GitHub ↗

* 时间格式化 * * + `yyyy` 年 * + `MM` 月 * + `dd` 日 * + `HH` 时(24小时制) * + `hh` 时(12小时制) * + `mm` 分 * + `ss` 秒 * @param text * @param formatType * @param withZero * @returns

(text = new Date(), formatType = "yyyy-MM-dd HH:mm:ss", withZero = true)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

getScriptVersionMethod · 0.95
callbackMethod · 0.45
formatTimeStampFunction · 0.45
updateAllSubscribeMethod · 0.45
exportConfigFunction · 0.45
checkSignInfoFunction · 0.45
common.tsFile · 0.45
onClickFunction · 0.45
afterRenderMethod · 0.45
afterRenderMethod · 0.45

Calls 2

forEachMethod · 0.80
keysMethod · 0.45

Tested by

no test coverage detected