MCPcopy Create free account
hub / github.com/FloatTech/ZeroBot-Plugin-Playground / parseTime

Function parseTime

plugin/fgopickup/handler.go:94–96  ·  view source on GitHub ↗
(timeInSeconds int64)

Source from the content-addressed store, hash-verified

92}
93
94func parseTime(timeInSeconds int64) string {
95 return time.Unix(timeInSeconds, 0).Format("2006-01-02")
96}
97
98func getServantList(ctx *zero.Ctx) {
99 page, _ := strconv.Atoi(ctx.State["args"].(string))

Callers 1

getMsgOfSinglePickupFunction · 0.85

Calls 1

FormatMethod · 0.80

Tested by

no test coverage detected