(a, b time.Time)
| 44 | } |
| 45 | |
| 46 | func 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 |
no outgoing calls
no test coverage detected