Skip to content

Commit

Permalink
Additional columns for habit headers
Browse files Browse the repository at this point in the history
  • Loading branch information
foralost committed Feb 3, 2024
1 parent 1a867fe commit bc972e8
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ abstract class HabitList : Iterable<Habit> {
"NumRepetitions",
"Interval",
"Color",
"Unit"
"Unit",
"Target Type",
"Target Value"
)
val csv = CSVWriter(out)
csv.writeNext(header, false)
Expand All @@ -201,7 +203,9 @@ abstract class HabitList : Iterable<Habit> {
numerator.toString(),
denominator.toString(),
habit.color.toCsvColor(),
habit.unit
habit.unit,
habit.targetType.name,
habit.targetValue.toString(),
)
csv.writeNext(cols, false)
}
Expand Down

0 comments on commit bc972e8

Please sign in to comment.