MCPcopy
hub / github.com/cli/cli / FuzzyAgo

Function FuzzyAgo

internal/text/text.go:46–48  ·  view source on GitHub ↗
(a, b time.Time)

Source from the content-addressed store, hash-verified

44}
45
46func FuzzyAgo(a, b time.Time) string {
47 return text.RelativeTimeAgo(a, b)
48}
49
50// FuzzyAgoAbbr is an abbreviated version of FuzzyAgo. It returns a human readable string of the
51// time duration between a and b that is estimated to the nearest unit of time.

Callers 10

printHumanViewFunction · 0.92
renderReleaseTTYFunction · 0.92
viewRunFunction · 0.92
printSessionFunction · 0.92
printHumanIssuePreviewFunction · 0.92
PromptGistsFunction · 0.92
runViewFunction · 0.92
renderRunFunction · 0.92
printHumanPrPreviewFunction · 0.92
AddTimeFieldMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected