diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hcl/task.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hcl/task.rb b/lib/hcl/task.rb index 58b32d7..313fdf1 100644 --- a/lib/hcl/task.rb +++ b/lib/hcl/task.rb @@ -50,7 +50,7 @@ module HCl def add http, opts notes = opts[:note] starting_time = opts[:starting_time] || 0 - spent_at = (opts[:spent_at] || Date.today).strftime('%F') + spent_at = opts[:spent_at] || Date.today DayEntry.new http.post("daily/add", { notes: notes, hours: starting_time, |
