Filtering on tags, Rounding on 'time'
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
/*
|
||||
Copyright © 2022 Brian Buller <brian@bullercodeworks.com>
|
||||
|
||||
*/
|
||||
package cmd
|
||||
|
||||
@@ -74,6 +73,7 @@ func opListTimers(cmd *cobra.Command, args []string) error {
|
||||
}
|
||||
filter := util.BuildFilterFromArgs(args)
|
||||
list = list.Filter(filter)
|
||||
list.Sort(timertxt.SortFinishDateAsc)
|
||||
|
||||
dayTotals := make(map[string]time.Duration)
|
||||
for _, v := range list.GetTimerSlice() {
|
||||
|
||||
Reference in New Issue
Block a user