mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
14 lines
211 B
Go
14 lines
211 B
Go
package humanize
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/dustin/go-humanize"
|
|
)
|
|
|
|
// Time returns a more human readable
|
|
// time as a string for a given time.Time
|
|
func Time(t time.Time) string {
|
|
return humanize.Time(t)
|
|
}
|