AC Personalization blocks date format issue in AEM Html template
Hi Team,
does anyone know how to convert date format (from YYYY-DD-MM to MM/DD/YYYY) in AC custom Personalization blocks in AEM Template?
We pull the AC email delivery content from AEM and use it in campaign. Issue is when i include the AC Personalization block in AEM Template. I want that PB dynamically populate the value in this format MM/DD/YYYY to recipient email. AC side it stores in YYYY-DD-MM postgres default date format.
I don't want to convert the date in AC using date format method. I want to convert it from AEM template.
Reason is if i make the conversation at PB level at AC side, it will fix the date format issue. but i can't use that PB for different countries date format.
is there any way it handles it AEM side through some method which can force it to delivered in MM/DD/YYYY ?
PB : <%= targetData.purchase_date %>
any idea community expert: @akshaaga @marcel_szimonisz @parthasarathy @david--garcia @_manoj_kumar_
Thanks!!!