Add note to look at better method for date to string conversion

This commit is contained in:
Joshua Coles 2024-02-04 17:41:37 +00:00
parent 2926cfdbea
commit af3f2ca39d

View File

@ -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]