Okay
  Public Ticket #1765221
date filter in another language
Closed

Comments

  •  1
    Frédéric Jacquemin Véber started the conversation

    Hi,

    I use a content box to display posts on a page. Date is displayer with{{item.posts.date|date("d F Y")}}.

    But month is in English ("october" for instance). I'd like to display it in french ("octobre") for the the french version of the website, and in english for the english version.

    I tried {{item.posts.date|date_i18n("d F Y")}} but it doesn't work.

    Could you help me?

  •   Max replied privately
  •  1
    Frédéric Jacquemin Véber replied

    Hi Max,

    Thanks for your help, but it doesn't work.

  •   Max replied privately