Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

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

Started by Muut Archive 11 years ago · 1 replies · 439 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 Muut Archive, 10 years ago
1 673 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago