diff options
| author | Jeff Carr <[email protected]> | 2024-12-01 18:41:00 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-01 18:41:00 -0600 |
| commit | afd0bd642841f4dee9ca29c4913a26319aa28dd9 (patch) | |
| tree | 31d55b1e4b24fb26b2927ae7f1d86364345d90dc /human.go | |
| parent | 5b883de7b99fc15d92646a7c965fdf28f1946343 (diff) | |
switched to autogenpbv0.2.10
Diffstat (limited to 'human.go')
| -rw-r--r-- | human.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -97,7 +97,7 @@ func FormatDuration(d time.Duration) string { ms := int(d.Milliseconds()) if ms > 100 { // todo: print .3s, etc ? - return fmt.Sprintf("%1.2fs", seconds/1000) + return fmt.Sprintf("%1.2fs", float64(seconds)/1000) } if ms > 0 { result += fmt.Sprintf("%dms", ms) |
