Add note to look at better method for date to string conversion
This commit is contained in:
parent
2926cfdbea
commit
af3f2ca39d
@ -16,6 +16,7 @@ module Toggl
|
||||
response = HTTParty.post(
|
||||
"#{TOGGL_PORTAL_URL}/report",
|
||||
body: {
|
||||
# TODO: Replace these, rails keeps complaining about deprecations
|
||||
"start_date": start_time.to_date.to_fs(),
|
||||
"end_date": end_time.to_date.to_fs(),
|
||||
"project_ids": [toggl_project_id]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user