<p>Instead of:</p>

<pre><code>{{ entry.postDate.format('d M Y') }}
</code></pre>

<p>Use:</p>

<pre><code>{{ entry.postDate | date('d M Y') }}
</code></pre>

<p>That should work.</p>

CC BY-SA 3.0
2015-01-12T09:49:54.647Z
2015-01-12T09:49:54.647Z
Paul
<p>I have a site with 2 languages: Nl and En
Everything translates to Dutch but only the date stays in English...</p>

<p>I use this to get my news items:</p>

<pre><code>{% for entry in craft.entries.section('news').limit(6).find() %}
    &lt;li&gt;
              &lt;p&gt;{{ entry.title}} {{ entry.postDate.format('d M Y') }}&lt;/p&gt;
              &lt;a href="{{ entry.url }}"&gt;{{ entry.title }}&lt;/a&gt;
            &lt;/li&gt;
{% endfor %}
</code></pre>

<p>The month stays in English, how can I format de post date, with the locale I'm viewing the site?</p>

<localization><postdate><format>
How to translate de postdate format for a multilanguage site
# How to translate de postdate format for a multilanguage site

(Asked by: username_0 on 2015-01-12)

I have a site with 2 languages: Nl and En
Everything translates to Dutch but only the date stays in English...
I use this to get my news items:
{% for entry in craft.entries.section('news').limit(6).find() %}
    
              {{ entry.title}} {{ entry.postDate.format('d M Y') }}
              {{ entry.title }}
            
{% endfor %}

The month stays in English, how can I format de post date, with the locale I'm viewing the site?

**Tags:** localization, postdate, format


---

## 1 answers

### Answer by username_1 on 2015-01-12. Score: 5 | Accepted answer

Instead of:
{{ entry.postDate.format('d M Y') }}

Use:
{{ entry.postDate | date('d M Y') }}

That should work.


---

