format table

This commit is contained in:
Erik Winter 2021-08-20 11:57:23 +02:00
parent 0150704259
commit 0a416d60f2
1 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@ package format
import ( import (
"fmt" "fmt"
"sort" "sort"
"strings"
"git.ewintr.nl/gte/internal/task" "git.ewintr.nl/gte/internal/task"
) )
@ -21,7 +20,7 @@ func FormatTaskTable(tasks []*task.LocalTask) string {
var output string var output string
for _, t := range tasks { for _, t := range tasks {
output += fmt.Sprintf("%d\t%s\t%s (%s, %s)\n", t.LocalId, t.Due.String(), t.Action, t.Project, strings.ToLower(t.Folder)) output += fmt.Sprintf("%d\t%s\t%s (%s)\n", t.LocalId, t.Due.String(), t.Action, t.Project)
} }
return output return output