reltime implements a "time ago" algorithm.
import ( "code.soquee.net/reltime" )
The package may be used under the terms of the BSD 2-Clause License a copy of
which may be found in the
Unless you explicitly state otherwise, any contribution submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.
Package reltime implements a "time ago" algorithm.
Ago transforms durations into human readable strings.
Output: about a day ago