add humanize time package

This commit is contained in:
lyx0 2022-08-07 16:35:49 +02:00
parent ed8d09eae2
commit 47e7091a09

11
pkg/humanize/time.go Normal file
View file

@ -0,0 +1,11 @@
package humanize
import (
"time"
"github.com/dustin/go-humanize"
)
func Time(t time.Time) string {
return humanize.Time(t)
}