We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9675b2 commit d19ee38Copy full SHA for d19ee38
main.go
@@ -68,7 +68,7 @@ func (u *Unit) getDurationMedian(input []time.Duration) time.Duration {
68
return 0
69
}
70
71
- return time.Duration(int64(median) / int64(len(input)))
+ return time.Duration(int64(median))
72
73
74
func (u *Unit) GetDuration(version string, ticks *bool, median *bool) (time.Duration, error) {
0 commit comments