Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

IS there a way to setlocale via system.yml or site.yml file?

Started by Muut Archive 11 years ago · 1 replies · 389 views
11 years ago

Actually, I guess the server host is set as default US format. I like to display dates in french.
IS there a way to set it into yml files ?

pages.dateformat.locale: "fr_FR" would produce :

TXT
setlocale(LC_ALL, 'fr_FR');

and display 12 Mars 2013 in place of 12 March 2013. Thanks

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2609 9 years ago
Archive · by Muut Archive, 9 years ago
2 1716 9 years ago
Archive · by Muut Archive, 9 years ago
2 5011 9 years ago
Archive · by Muut Archive, 9 years ago
1 3841 9 years ago
Archive · by Muut Archive, 9 years ago
3 1821 9 years ago