MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / trimBase

Function trimBase

uai/uai.ts:77–79  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

75 const y = date.getFullYear();
76 const m = String(date.getMonth() + 1).padStart(2, "0");
77 const d = String(date.getDate()).padStart(2, "0");
78 const h = String(date.getHours()).padStart(2, "0");
79 const min = String(date.getMinutes()).padStart(2, "0");
80 return `${y}/${m}/${d} ${h}:${min}`;
81}
82

Callers 2

callOpenAIFunction · 0.85
callGeminiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected