Код: Выделить всё
...
'value' => function ($model) {
return date('d.m.Y H:i', $model->created_at);
},
...
Код: Выделить всё
...
'value' => 'created_at',
'format' => 'datetime',
...
Что может быть?
Код: Выделить всё
...
'value' => function ($model) {
return date('d.m.Y H:i', $model->created_at);
},
...
Код: Выделить всё
...
'value' => 'created_at',
'format' => 'datetime',
...
Onotole писал(а):Intl какой версии?
Могли бы вы подсказать, как это сделать?Onotole писал(а):Обнови ICU до 56.1
Для debianPendalF писал(а):Могли бы вы подсказать, как это сделать?Onotole писал(а):Обнови ICU до 56.1
Код: Выделить всё
apt-get remove php-intl
cd /tmp
wget http://download.icu-project.org/files/icu4c/57.1/icu4c-57_1-src.tgz
tar -xvf icu4c-57_1-src.tgz
cd icu/source/
./configure --prefix=/usr/lib/icu4c-57_1
make
make install
pecl install intl
Код: Выделить всё
/tmp/pear/temp/intl/intl_error.h:24:40: fatal error: ext/standard/php_smart_str.h: No such file or directory
#include <ext/standard/php_smart_str.h>
^
compilation terminated.
make: *** [php_intl.lo] Error 1
ERROR: `make' failed
На РНР7 не ставилPendalF писал(а):Падает с ошибкой:
Версия php 7.0Код: Выделить всё
/tmp/pear/temp/intl/intl_error.h:24:40: fatal error: ext/standard/php_smart_str.h: No such file or directory #include <ext/standard/php_smart_str.h> ^ compilation terminated. make: *** [php_intl.lo] Error 1 ERROR: `make' failed