You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The standard "list opportunities" API returns back a date string from the CRM: "close_date": "2023-05-26".
The node sdk opportunitiesAll returns it as datetime 2023-05-26T00:00:00.000Z.
In Salesforce, at least, Opportunity.CloseDate is only returned as a Date in the users current timezone, so treating it as UTC can make it fall on the wrong day.
Salesforce (and probably other CRMs) do store the UTC datetime somewhere, so the ideal case would be for Apideck to return that value. If not, the node sdk should just return the date and not datetime.
The text was updated successfully, but these errors were encountered:
The standard "list opportunities" API returns back a date string from the CRM:
"close_date": "2023-05-26"
.The node sdk
opportunitiesAll
returns it as datetime2023-05-26T00:00:00.000Z
.In Salesforce, at least,
Opportunity.CloseDate
is only returned as a Date in the users current timezone, so treating it as UTC can make it fall on the wrong day.Salesforce (and probably other CRMs) do store the UTC datetime somewhere, so the ideal case would be for Apideck to return that value. If not, the node sdk should just return the date and not datetime.
The text was updated successfully, but these errors were encountered: