MCPcopy Create free account
hub / github.com/writefreely/writefreely / ExpiresFriendly

Method ExpiresFriendly

invites.go:57–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57func (i Invite) ExpiresFriendly() string {
58 return i.Expires.Format("January 2, 2006, 3:04 PM")
59}
60
61func handleViewUserInvites(app *App, u *User, w http.ResponseWriter, r *http.Request) error {
62 // Don't show page if instance doesn't allow it

Callers

nothing calls this directly

Calls 1

FormatMethod · 0.80

Tested by

no test coverage detected