This is my configurations:

```
'formatter' => [
            'class' => 'yii\i18n\Formatter',
            'dateFormat' => 'd MMMM Y',
            'locale' => 'ru-RU'

      ],

```

When I am trying this:

```
echo Yii::$app->formatter->asDate('2014-01-01');

```

I get:

```
01 Jan 2014

```

But I want the same in Russian.

**Solved:**

Open the file php.ini via OpenServer and uncomment `;extension=php_intl.dll`.