I'm having some trouble with the Forms API. I am sending an API request to HubSpot after a customer completes a form on our website. Along with the API request, I'm sending a date value that is being stored on the contact record. That property already exists on the contact record and in the past, the date was being populated via the API as expected. Recently (mid-June) it seems that this has stopped working as expected and now the date property is empty all the time.
I'm using PHP to send the API request, so here is how I'm formatting my date prior to the API call.
strtotime($departureDate()->format('Y-m-d')) * 1000;
This works as expected from my local environment and this is sending a date value of
1548979200000 for example. Problem is, when I use the exact same code on my production server, the date property is not populated at all.
Lastly, it seems that the dates stopped populating via the API on May 11, 2018.