I found lot of articles talking about i18n with Rails, Nanoc, but nothing about a really simple (I think) thing: how to internationalize a date on a nanoc article.
I have a really simple setup, for example here is a snippet of my index.html page:
<%= link_to(post[:title], post.path) %> - <%= post[:created_at] %>
This is a dummy article:
---
title: Test
created_at: 1 January 1970
---
Wich gives this result when compiled:
Test - 1 January 1970
But I would like the date to be in French, like this:
Test - 1 Janvier 1970