kopia lustrzana https://github.com/cyoung/stratux
Error.
rodzic
cfd1541708
commit
0f4fa6db22
|
@ -26,7 +26,7 @@ func (m *monotonic) Since(t time.Time) time.Duration {
|
|||
}
|
||||
|
||||
func (m *monotonic) HumanizeTime(t time.Time) string {
|
||||
return humanize.RelTime(time.Time{}, t, "ago", "from now")
|
||||
return humanize.RelTime(m.Time, t, "ago", "from now")
|
||||
}
|
||||
|
||||
func NewMonotonic() *monotonic {
|
||||
|
|
Ładowanie…
Reference in New Issue