Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

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

Started by Muut Archive 11 years ago · 1 replies · 285 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 1334 9 years ago
Archive · by Muut Archive, 9 years ago
2 925 9 years ago
Archive · by Muut Archive, 9 years ago
2 4056 9 years ago
Archive · by Muut Archive, 9 years ago
1 2939 9 years ago
Archive · by Muut Archive, 9 years ago
3 1112 9 years ago