summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/hcl/commands.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb
index 9bad615..4156a69 100644
--- a/lib/hcl/commands.rb
+++ b/lib/hcl/commands.rb
@@ -111,7 +111,7 @@ module HCl
end
def stop *args
- entry = DayEntry.with_timer(http) || DayEntry.with_timer(http, DateTime.yesterday)
+ entry = DayEntry.with_timer(http) || DayEntry.with_timer(http, Date.today - 1)
if entry
entry.append_note(http, args.join(' ')) if args.any?
entry.toggle http