Add rounding direction

This commit is contained in:
2022-10-04 12:37:11 -05:00
parent b0f5e928d9
commit a8c1812bbf
5 changed files with 41 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ func opShowTimers(cmd *cobra.Command, args []string) error {
}
total += dur
}
total = total.Round(util.GetRoundToDuration())
total = util.Round(total)
if isActive {
fmt.Printf("%.2f+\n", util.DurationToDecimal(total))
} else {