aboutsummaryrefslogtreecommitdiffstats
path: root/timetask
diff options
context:
space:
mode:
Diffstat (limited to 'timetask')
-rw-r--r--timetask/time_entry.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/timetask/time_entry.go b/timetask/time_entry.go
index f78753a..1cb7bc8 100644
--- a/timetask/time_entry.go
+++ b/timetask/time_entry.go
@@ -21,6 +21,7 @@ func (te *TimeEntry) UnmarshalYAML(unmarshal func(interface{}) error) error {
Task string
WorkType string `yaml:"work_type"`
Date string
+ Time uint
Billable bool
Description string
}
@@ -40,6 +41,7 @@ func (te *TimeEntry) UnmarshalYAML(unmarshal func(interface{}) error) error {
te.Task = auxiliary.Task
te.WorkType = auxiliary.WorkType
te.Date = date
+ te.Time = auxiliary.Time
te.Billable = auxiliary.Billable
te.Description = auxiliary.Description