Answer the question
In order to leave comments, you need to log in
Modx revo incorrectly displays the date in Russian, how to fix it?
Good afternoon.
The month is displayed incorrectly when displaying a resource (22 ��� 2018). It is the month in Russian characters. When I choose a numerical output of the date - there is no problem.
I retrieve resources using getResources.
Output from tpl:
But I also tried to enter on the site page:
[[*publishedon:strtotime:date=`%d %B %Y`] ]
In the system settings of the admin panel, where "Dictionary and Language", it is written in the locale: ru_RU.UTF-8
also tried to write it like this: ru_RU.UTF8
Character encoding UTF-8
On the pages in the head it is written:
I use the Open server locale
Version MODX: Revolution 2.6.0-pl
I wrote in index.php:<meta charset="utf-8">
setlocale(LC_ALL, 'ru_RU.UTF-8');
In the Open server settings, where the "Encodings" section is, Mysql is set to utf8_general_ci .
The HTTP server specified utf-8 . It didn't help either.
Help me solve the problem, please.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question