Skip to content

Commit

Permalink
Fix calendar.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthomas committed Aug 24, 2024
1 parent 954ac79 commit 5ee853a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
puts get_timeline("Mine") #=> {"name"=>"Mine", "color"=>"#4287f5", "scope"=>"DEFAULT", "updated_at"=>1698763720728596964}

now = Time.now()
start = Time.new(now.year, now.month, now.day, now.hour + 1, 30, 00)
start = now + 3600
stop = start + 3600 # Stop plus 1hr
act = create_timeline_activity("Mine", kind: "reserve", start: start, stop: stop)
puts act #=>
Expand Down

0 comments on commit 5ee853a

Please sign in to comment.