mirror of
https://github.com/restic/restic.git
synced 2025-10-26 19:19:50 +00:00
Update dependenciess
Exclude minio-go for now (pin to 3.x.y).
This commit is contained in:
2
vendor/github.com/dustin/go-humanize/times.go
generated
vendored
2
vendor/github.com/dustin/go-humanize/times.go
generated
vendored
@@ -91,7 +91,7 @@ func CustomRelTime(a, b time.Time, albl, blbl string, magnitudes []RelTimeMagnit
|
||||
}
|
||||
|
||||
n := sort.Search(len(magnitudes), func(i int) bool {
|
||||
return magnitudes[i].D >= diff
|
||||
return magnitudes[i].D > diff
|
||||
})
|
||||
|
||||
if n >= len(magnitudes) {
|
||||
|
||||
Reference in New Issue
Block a user