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

Function attrEscape

sum/sum.ts:33–35  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

31function formatDate(date: Date): string {
32 const year = date.getFullYear();
33 const month = String(date.getMonth() + 1).padStart(2, "0");
34 const day = String(date.getDate()).padStart(2, "0");
35 const hours = String(date.getHours()).padStart(2, "0");
36 const minutes = String(date.getMinutes()).padStart(2, "0");
37 return `${year}-${month}-${day} ${hours}:${minutes}`;
38}

Callers 1

SummaryPluginClass · 0.70

Calls 1

htmlEscapeFunction · 0.70

Tested by

no test coverage detected