RSS pubdate formatting

Is there a method to format RSS PUBDATE? The default presentation is not customer friendly: Wed, 14 Feb 2024 04:54:28 +0000

I tried editing my RSS feed, but that caused it to fail validation.

I see some code used in the Default Template subject line, but cannot figure out how to apply this in the body of the email.
Example: { feed.date|time_parse: « Monday 02 January 2006 » }

thanks!
TJ

Same problem here. I followed without success Brevo’s instructions at

When it comes to the DATE filter, none of their examples work in conjunction with PUBDATE.

Brevo RSS support is really lacking compared to Mailchimp. I wasted hours trying to replicate a RSS campaign from Mailchimp but I had to lower my expectations. A lot of Mailchimp RSS variables do not exist in Brevo.

Let’s see if Brevo fixes the PUBDATE format/filter issue or at least provides a working syntax example.

Brevo support provided a solution. This is the syntax to include item.PUBDATE in the RSS campaign:

{{ item.PUBDATE | default: « Tue, 12 Mar 2024 14:48:25 +0000 » |
time_parse: « Mon, 2 Jan 2006 15:04:05 -0700 » | date: « Monday, Jan 2,
2006 » }}

1 Like