The customer.birthday field is not being correctly recognized as a date when sent to Klaviyo. Currently, the Shopware default variable:
$birthday ? $birthday->format(Defaults::STORAGE_DATE_FORMAT) : null
//is used, where STORAGE_DATE_FORMAT = 'Y-m-d';.
This causes the birthday property in Klaviyo to be improperly formatted or unrecognized as a valid date.
Expected Behavior:
The customer.birthday field should be sent to Klaviyo in a format that it recognizes as a valid date, ensuring proper functionality of the birthday property.
Steps to Reproduce:
Add a customer with a valid birthday in Shopware.
Sync data with Klaviyo.
Observe that the customer.birthday field is not recognized as a valid date in Klaviyo.
Suggested Fix:
Adjust the date formatting in the integration to ensure compatibility with Klaviyo's expected date format.
The customer.birthday field is not being correctly recognized as a date when sent to Klaviyo. Currently, the Shopware default variable:
This causes the birthday property in Klaviyo to be improperly formatted or unrecognized as a valid date.
Expected Behavior:
The customer.birthday field should be sent to Klaviyo in a format that it recognizes as a valid date, ensuring proper functionality of the birthday property.
Steps to Reproduce:
Add a customer with a valid birthday in Shopware.
Sync data with Klaviyo.
Observe that the customer.birthday field is not recognized as a valid date in Klaviyo.
Suggested Fix:
Adjust the date formatting in the integration to ensure compatibility with Klaviyo's expected date format.