@ -133,8 +133,10 @@ SCRIPT;
if ($this->hasModel()) {
$timestamp = ArrayHelper::getValue($this->model, $this->attribute);
if (!empty($timestamp)) {
$value = date($this->format, $timestamp);
}
if (empty($timestamp) && $this->autoFill) {
$timestamp = time();