From fadf622f32bfb5bc4137560396a47aab0666f324 Mon Sep 17 00:00:00 2001 From: Michael Volo Date: Fri, 25 Oct 2024 09:56:02 -0500 Subject: [PATCH] cast to SF friendly date --- app/routines/update_salesforce_assignable_fields.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routines/update_salesforce_assignable_fields.rb b/app/routines/update_salesforce_assignable_fields.rb index 0f5db78e0..3261560fe 100644 --- a/app/routines/update_salesforce_assignable_fields.rb +++ b/app/routines/update_salesforce_assignable_fields.rb @@ -20,7 +20,7 @@ def call(created_after) next if contact.nil? contact.assignable_interest = 'Fully Integrated' - contact.assignable_adoption_date = external_id.min_created_at + contact.assignable_adoption_date = external_id.min_created_at.strftime('%Y-%m-%d') contact.save! end end