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