APIs & Integrations

Amit_95
Participant | Platinum Partner
Participant | Platinum Partner

Getting blog publish date for email without timestamp (HubL)

I'm currently setting up blog notification emails and by default they display the datetimestamp via {{ post.publish_date}}. However, I want time removed and for it to only display the publish date (i.e. Jan 25, 2018).

I've tried {{ post.publish_date|datetimeformat('%B %e %Y') }} but nothing shows (not even the date).

Ideas?

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Getting blog publish date for email without timestamp (HubL)

Hi @Amit,

Can you send me a link to the email in question so that I can take a closer look?

0 Upvotes