lib/toggl/jobcan/toggl_support.rb in toggl-jobcan-0.1.1 vs lib/toggl/jobcan/toggl_support.rb in toggl-jobcan-0.2.0

- old
+ new

@@ -3,13 +3,10 @@ module Toggl module Jobcan # Provides support methods for Toggl module TogglSupport def fetch_toggl_worktime(date) - @toggl.merge!( - date.month, date.day, - @config[:day_begin_hour], @config[:timezone] - ) + @toggl.merge!(date.year, date.month, date.day) @toggl.work_time end def toggl_time_format(date, timestamp) same_day = date == timestamp.to_date