Display date in another language

Hello, I'm working on a weather forcast dashboard and I'm wondering if I can display the names of days and months in another language than English, French in my case

{{msg.payload | date:"EEE, d MMMM yyyy"}}

image in this case I want it to be Dim, 17 Mars 2019. How can I get to that ?!

You can try my node-red-contrib-moment node.

These setttings for example:

Give you this output

image

1 Like

Thank you, it worked but still need the name of the day though

That's not a problem, you just need to adjust the output format. If you check the help in the sidebar, it gives a link to the page that gives you all of the details you need.

1 Like

Thanks a lot, it worked by using this format ddd DD MMM YYYY
image :grinning:

1 Like