Код: Выделить всё
IntlException
Constructor failed
1. in /home/admin/web/itstore.net.ua/public_html/vendor/yiisoft/yii2/i18n/Formatter.php at line 612
2. in /home/admin/web/itstore.net.ua/public_html/vendor/yiisoft/yii2/i18n/Formatter.php at line 612 – IntlDateFormatter::__construct('ru-RU', 3, 3, 'europe/kiev', ...)
3. in /home/admin/web/itstore.net.ua/public_html/vendor/yiisoft/yii2/i18n/Formatter.php at line 557 – yii\i18n\Formatter::formatDateTimeValue(1481891882, 'short', 'datetime')
4. in /home/admin/web/itstore.net.ua/public_html/app/modules/admin/modules/shopcart/views/a/index.php at line 41 – yii\i18n\Formatter::asDatetime(1481891882, 'short')
35363738394041424344454647
<span class="label label-success">новый</span>
<?php endif; ?>
</td>
<td><?= $item->name ?></td>
<td><?= $item->phone ?></td>
<td><?= $item->cost ?> грн</td>
<td><?= Yii::$app->formatter->asDatetime($item->time, 'short') ?></td>
<td><?= Order::statusName($item->status) ?></td>
<td class="control">
<div class="btn-group btn-group-sm" role="group">
<a href="<?= Url::to(['/admin/'.$module.'/a/view', 'id' => $item->primaryKey]) ?>" class="btn btn-default" title="<?= Yii::t('app', 'View') ?>"><span class="glyphicon glyphicon-eye-open"></span></a>
<a href="<?= Url::to(['/admin/'.$module.'/a/delete', 'id' => $item->primaryKey]) ?>" class="btn btn-default confirm-delete" title="<?= Yii::t('app', 'Delete item') ?>"><span class="glyphicon glyphicon-remove"></span></a>
</div>