MCPcopy Create free account
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// FuzzyIn returns a human readable description of how far b lies in the future relative to a, such as "in about 7
51// hours". Each unit is rounded to the nearest whole value rather than truncated, so a duration a hair under a round

Callers 13

printHumanViewFunction · 0.92
renderReleaseTTYFunction · 0.92
relativeToNowFunction · 0.92
viewRunFunction · 0.92
printSessionFunction · 0.92
printHumanIssuePreviewFunction · 0.92
metadataLineFunction · 0.92
PromptGistsFunction · 0.92
runViewFunction · 0.92
renderRunFunction · 0.92
viewRunFunction · 0.92
printHumanPrPreviewFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected