aboutsummaryrefslogtreecommitdiffstats
path: root/timetask/time_entry.go
diff options
context:
space:
mode:
authorTeddy Wing2017-06-03 17:35:24 +0200
committerTeddy Wing2017-06-03 17:35:24 +0200
commit80c8fa343a3d98c0601545ef9b3df743c6b6b901 (patch)
tree3f794accf3624808462c8af2f0f7f1c04d05714e /timetask/time_entry.go
parent47ec5ffeea72fff2019636be2c97ee36fcd176a6 (diff)
parent81791bbf4291e28691ed2cfaaad357613c915174 (diff)
downloadtimetasker-80c8fa343a3d98c0601545ef9b3df743c6b6b901.tar.bz2
Merge branch 'command-line-arguments' into timetasker-daily
Diffstat (limited to 'timetask/time_entry.go')
-rw-r--r--timetask/time_entry.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/timetask/time_entry.go b/timetask/time_entry.go
index ff0ad1f..bb7a741 100644
--- a/timetask/time_entry.go
+++ b/timetask/time_entry.go
@@ -10,7 +10,7 @@ type TimeEntry struct {
Task int
WorkType int
Date time.Time
- Time int
+ Time float64
Billable bool
Description string
}
@@ -19,7 +19,7 @@ func NewTimeEntry(
profile Profile,
project Project,
date time.Time,
- time int,
+ time float64,
description string,
) TimeEntry {
return TimeEntry{