MCPcopy Create free account
hub / github.com/ClydeTime/Surge / format

Function format

Script/Task/xmly.js:31–33  ·  view source on GitHub ↗
(ts, fmt = 'yyyy-MM-dd HH:mm:ss')

Source from the content-addressed store, hash-verified

29*/
30
31const format = (ts, fmt = 'yyyy-MM-dd HH:mm:ss') => {
32 return $.time(fmt, ts)
33}
34
35const urlencode = (str) => {
36 str = (str + '').toString()

Callers 5

inspectFunction · 0.70
checkFunction · 0.70
mainFunction · 0.70
adVideoFinishFunction · 0.70
handInGeneralTaskFunction · 0.70

Calls 1

timeMethod · 0.45

Tested by

no test coverage detected