MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / FormatInstant

Function FormatInstant

internal/cli/zone.go:24–26  ·  view source on GitHub ↗

FormatInstant renders an instant for the viewer. JSON timestamps bypass it.

(t time.Time, layout string)

Source from the content-addressed store, hash-verified

22
23// FormatInstant renders an instant for the viewer. JSON timestamps bypass it.
24func FormatInstant(t time.Time, layout string) string {
25 return t.In(DisplayLocation()).Format(layout)
26}

Callers 14

workspaceDeletedCmdFunction · 0.92
auditLogCmdFunction · 0.92
itemClaimCmdFunction · 0.92
fmtInstantFunction · 0.92
standupCmdFunction · 0.92
activityCmdFunction · 0.92
watchCmdFunction · 0.92
attachmentListCmdFunction · 0.92
formatTokenExpiryFunction · 0.92
historyCmdFunction · 0.92

Calls 1

DisplayLocationFunction · 0.85