reverted format duration change
All checks were successful
Tests / Run Go Tests (push) Successful in 1m28s
All checks were successful
Tests / Run Go Tests (push) Successful in 1m28s
This commit is contained in:
@@ -31,7 +31,6 @@ func FormatDuration(d time.Duration) string {
|
||||
|
||||
// Converts duration to string
|
||||
func FormatDurationFill(d time.Duration, fill bool) string {
|
||||
return fmt.Sprintf("%.1f", d.Hours())
|
||||
hours := int(d.Abs().Hours())
|
||||
minutes := int(d.Abs().Minutes()) % 60
|
||||
sign := ""
|
||||
|
||||
Reference in New Issue
Block a user