<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Formatting date to local time in RSS email in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176315#M4578</link>
    <description>&lt;P&gt;Hi guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm using imported blogs to create emails but i have one slight problem with the date format. It's formatting in English, whilst the blog is using Dutch:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions on how to switch this back to Dutch? I read that it would be possible to set the date to&amp;nbsp;&lt;SPAN&gt;retrieve the format from Hubspot settings, but i have no idea how to go about doing that. My code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{% set blog_posts = blog_recent_posts('111111111', limit=3) %} 
{% for item in blog_posts %}

{{ item.publish_date_local_time | datetimeformat('%d %B %Y') }}

{% endfor %}&lt;/PRE&gt;</description>
    <pubDate>Thu, 01 Feb 2018 15:42:40 GMT</pubDate>
    <dc:creator>LexG</dc:creator>
    <dc:date>2018-02-01T15:42:40Z</dc:date>
    <item>
      <title>Formatting date to local time in RSS email</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176315#M4578</link>
      <description>&lt;P&gt;Hi guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm using imported blogs to create emails but i have one slight problem with the date format. It's formatting in English, whilst the blog is using Dutch:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions on how to switch this back to Dutch? I read that it would be possible to set the date to&amp;nbsp;&lt;SPAN&gt;retrieve the format from Hubspot settings, but i have no idea how to go about doing that. My code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{% set blog_posts = blog_recent_posts('111111111', limit=3) %} 
{% for item in blog_posts %}

{{ item.publish_date_local_time | datetimeformat('%d %B %Y') }}

{% endfor %}&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Feb 2018 15:42:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176315#M4578</guid>
      <dc:creator>LexG</dc:creator>
      <dc:date>2018-02-01T15:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting date to local time in RSS email</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176341#M4583</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you checked your date/time&amp;nbsp;settings&amp;nbsp;in the Content Settings &amp;gt;&amp;gt; Blog &amp;gt;&amp;gt; Date Formats &amp;gt;&amp;gt; Language for Dates? I think that may fix your issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 16:52:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176341#M4583</guid>
      <dc:creator>narmstrong</dc:creator>
      <dc:date>2018-02-01T16:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting date to local time in RSS email</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176343#M4584</link>
      <description>&lt;P&gt;Hello Narmstrong,&lt;BR /&gt;&lt;BR /&gt;I've checked, and it is set to Dutch, which is what it should be.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;~Lex&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 16:54:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176343#M4584</guid>
      <dc:creator>LexG</dc:creator>
      <dc:date>2018-02-01T16:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting date to local time in RSS email</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176345#M4585</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;{{ item.&lt;SPAN&gt;publish_date_localized&lt;/SPAN&gt;|datetimeformat('%d %B %Y') }}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 16:58:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176345#M4585</guid>
      <dc:creator>narmstrong</dc:creator>
      <dc:date>2018-02-01T16:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting date to local time in RSS email</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176347#M4586</link>
      <description>&lt;P&gt;Sorry, no luck... This fails to load, so it would seem.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 17:01:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176347#M4586</guid>
      <dc:creator>LexG</dc:creator>
      <dc:date>2018-02-01T17:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting date to local time in RSS email</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176348#M4587</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;{{ item.&lt;SPAN&gt;publish_date_localized&lt;/SPAN&gt;}}&lt;/PRE&gt;&lt;P&gt;Then set your date formatting in the blog date settings&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 17:03:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176348#M4587</guid>
      <dc:creator>narmstrong</dc:creator>
      <dc:date>2018-02-01T17:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting date to local time in RSS email</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176350#M4588</link>
      <description>&lt;P&gt;That did the trick. I did set the blog settings to custom format&amp;nbsp;&lt;STRONG&gt;d MMMM y&lt;/STRONG&gt;,&amp;nbsp;and it worked! Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 17:11:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Formatting-date-to-local-time-in-RSS-email/m-p/176350#M4588</guid>
      <dc:creator>LexG</dc:creator>
      <dc:date>2018-02-01T17:11:09Z</dc:date>
    </item>
  </channel>
</rss>

