2023-08-08 02:37:37 +02:00
|
|
|
package humanize
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
|
|
|
|
humanize "github.com/dustin/go-humanize"
|
|
|
|
)
|
|
|
|
|
2024-02-28 11:53:39 +01:00
|
|
|
// Time returns the humanized time for a supplied time value.
|
2023-08-08 02:37:37 +02:00
|
|
|
func Time(t time.Time) string {
|
|
|
|
return humanize.Time(t)
|
|
|
|
}
|