diff --git a/src/Log.php b/src/Log.php index b63f1bb..bf0463a 100755 --- a/src/Log.php +++ b/src/Log.php @@ -70,7 +70,7 @@ static function l(array $oldAttributes, array $newAttributes, $event, $object, $ $model->event = $event->name; $model->object = $object; $model->user = $uid; - $model->date = new \yii\db\Expression('NOW()'); + $model->date = gmdate('Y-m-d h:i:s'); $model->object_id = $object_id; $model->save();