Skip to content
Grav 2.1 is out: every page speaks Markdown. 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 · 366 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 2280 9 years ago
Archive · by Muut Archive, 9 years ago
2 1496 9 years ago
Archive · by Muut Archive, 9 years ago
2 4745 9 years ago
Archive · by Muut Archive, 9 years ago
1 3561 9 years ago
Archive · by Muut Archive, 9 years ago
3 1621 9 years ago