Skip to content

Commit

Permalink
Adding Units column
Browse files Browse the repository at this point in the history
  • Loading branch information
foralost committed Dec 10, 2023
1 parent 800f92f commit 359e3c9
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ abstract class HabitList : Iterable<Habit> {
"Description",
"NumRepetitions",
"Interval",
"Color"
"Color",
"Unit"
)
val csv = CSVWriter(out)
csv.writeNext(header, false)
Expand All @@ -199,7 +200,8 @@ abstract class HabitList : Iterable<Habit> {
habit.description,
numerator.toString(),
denominator.toString(),
habit.color.toCsvColor()
habit.color.toCsvColor(),
habit.unit
)
csv.writeNext(cols, false)
}
Expand Down

0 comments on commit 359e3c9

Please sign in to comment.