Start and End Times - Salesforce Integration

  • Profile Image
    amayers
    Asked on December 22, 2020 at 01:34 PM

    Hello, I have the Salesforce integration and everything is working except the time fields that I have set up. I had to rebuild this integration as I was on Legacy and the times worked. Once I rebuilt this into the other Salesforce integration, it no longer worked. I have the time zones correct on both ends but for some reason, it keeps coming over 6 hours off? See screenshots.

    In Jotform - Chicago timezone:

    1608661873_5fe23b71c0c58_Jotform - Timez

    In Jotform - start and end times that were entered:
    1608661922_5fe23ba25f1aa_Jotform - Time


    In Salesforce - Chicago timezone:

    1608661954_5fe23bc21ef66_Salesforce - Ti

    In Salesforce - the times that came over with the integration (6 hours ahead):

    1608661996_5fe23beced8cf_Salesforce - Ti


    Please let me know how we can fix this. Thanks.

  • Profile Image
    Gaetan_B
    Answered on December 22, 2020 at 02:26 PM

    Hello,

    Thank you for reaching out.


    It looks like SalesForces thinks you're entering an hour in UTC (they treat all of those API calls as UTC no matter what) and then tries to convert it again.


    It looks like with the non-legacy version, you would have to readjust your org/personal settings in Salesforce to not have that offset.


    Should you have any further inquiries, do not hesitate to reply to this thread