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

Function formatDate

acron/acron.ts:139–141  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

137const CN_TIME_ZONE = "Asia/Shanghai";
138
139function formatDate(date: Date): string {
140 return date.toLocaleString("zh-CN", { timeZone: CN_TIME_ZONE });
141}
142
143async function formatEntity(
144 target: any,

Callers 1

AcronPluginClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected