MCPcopy Create free account
hub / github.com/andeya/algorithm / Time

Function Time

go-humanize/times.go:24–26  ·  view source on GitHub ↗

Time formats a time into a relative string. Time(someT) -> "3 weeks ago"

(then time.Time)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestPastFunction · 0.70
TestFutureFunction · 0.70

Calls 1

RelTimeFunction · 0.85

Tested by 2

TestPastFunction · 0.56
TestFutureFunction · 0.56