Getting blog publish date for email without timestamp (HubL)


#1

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?


#2

Hi @Amit,

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