MCPcopy Index your code
hub / github.com/docker/cli / reformatDate

Function reformatDate

cli/command/system/version.go:196–202  ·  view source on GitHub ↗
(buildTime string)

Source from the content-addressed store, hash-verified

194}
195
196func reformatDate(buildTime string) string {
197 t, errTime := time.Parse(time.RFC3339Nano, buildTime)
198 if errTime == nil {
199 return t.Format(time.ANSIC)
200 }
201 return buildTime
202}
203
204func arch() string {
205 out := runtime.GOARCH

Callers 2

newClientVersionFunction · 0.85
newServerVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…