Add rounding direction
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user