talent-connect/connect

[CON/TP]: Re-implement date pickers

fortini opened this issue · 2 comments

Context/background

While merging duplicates, it was noticed that the birth date for some Contacts created on Salesforce differs from the one that already exists by one day. We had the same issue with the Typeform Integration on Zapier because the date was imported as date/time with time = T00:00:00:000. Therefore, the previous day was saved in Salesforce, e.g. 29/08/2000 instead of 30/08/2000.

Users update their birthdate via CON with a datepicker that returns a datetime instead of a date. This is what’s causing the off-by-one-day issue.

What needs to be done?

  • For a quick solution, disable/hide the birthday datepicker in CON until we can properly fix it
  • Ensure the datepicker gives us a simple DATE (YYYY-MM-DD) without any time attached or timezone information attached. Save that to Salesforce.

"Tech details":

  • Ensure the datepicker gives us a simple DATE (YYYY-MM-DD) without any time attached or timezone information attached
  • Save that to Salesforce

The technical complexity is hard to assess right now because there are a few unknowns. It can be anything from medium to high.
The business value hasn't really been investigated AFAIK. I guess it is a nice to have.