diff --git a/common/models/BlogSearch.php b/common/models/BlogSearch.php index 9f4c9eb..90824a5 100644 --- a/common/models/BlogSearch.php +++ b/common/models/BlogSearch.php @@ -110,7 +110,7 @@ 'between', 'date_add', $this->date_add_from, - $this->date_add_to, + (new \DateTime($this->date_add_to))->modify('+1 day')->format('Y-m-d') ]); $query->andFilterWhere([ diff --git a/common/models/GallerySearch.php b/common/models/GallerySearch.php index 5e8d422..55f551d 100644 --- a/common/models/GallerySearch.php +++ b/common/models/GallerySearch.php @@ -107,7 +107,7 @@ 'between', 'date_add', $this->date_add_from, - $this->date_add_to, + (new \DateTime($this->date_add_to))->modify('+1 day')->format('Y-m-d') ]); $query->andFilterWhere([ diff --git a/common/models/PortfolioSearch.php b/common/models/PortfolioSearch.php index e55d070..4e26fed 100644 --- a/common/models/PortfolioSearch.php +++ b/common/models/PortfolioSearch.php @@ -126,7 +126,7 @@ 'between', 'date_add', $this->date_add_from, - $this->date_add_to, + (new \DateTime($this->date_add_to))->modify('+1 day')->format('Y-m-d') ]); $query->andFilterWhere( diff --git a/common/models/VacancySearch.php b/common/models/VacancySearch.php index d567644..eb3c452 100644 --- a/common/models/VacancySearch.php +++ b/common/models/VacancySearch.php @@ -107,7 +107,7 @@ 'between', 'date_add', $this->date_add_from, - $this->date_add_to, + (new \DateTime($this->date_add_to))->modify('+1 day')->format('Y-m-d'), ]); $query->andFilterWhere([ diff --git a/common/widgets/views/courses_field.php b/common/widgets/views/courses_field.php index eb1d586..b468aef 100644 --- a/common/widgets/views/courses_field.php +++ b/common/widgets/views/courses_field.php @@ -25,7 +25,7 @@
- +
@@ -56,7 +56,7 @@ ''+ ''+ '
'+ - '' + + '' + ''+ '
'+ '' + diff --git a/common/widgets/views/development_field.php b/common/widgets/views/development_field.php index fece48c..d622bec 100644 --- a/common/widgets/views/development_field.php +++ b/common/widgets/views/development_field.php @@ -23,7 +23,7 @@
- +
@@ -51,11 +51,11 @@ .parent ('fieldset'); var sub_block = '
' + '
'+ - '' + + '' + ''+ '
'+ '
'+ - '' + + '' + ''+ '
'+ '' + diff --git a/common/widgets/views/education_field.php b/common/widgets/views/education_field.php index d93dc54..ca6ad41 100755 --- a/common/widgets/views/education_field.php +++ b/common/widgets/views/education_field.php @@ -26,11 +26,11 @@
- +
- +
@@ -59,15 +59,15 @@ .parent ('fieldset'); var sub_block = '
' + '
'+ - '' + + '' + ''+ '
'+ '
'+ - '' + + '' + ''+ '
'+ '
'+ - '' + + '' + ''+ '
'+ '' + -- libgit2 0.21.4