diff --git a/assets/DateTimePickerAsset.php b/assets/DateTimePickerAsset.php index f715d28..69cf0a7 100644 --- a/assets/DateTimePickerAsset.php +++ b/assets/DateTimePickerAsset.php @@ -13,15 +13,15 @@ class DateTimePickerAsset extends \yii\web\AssetBundle public function init() { if (YII_DEBUG) { - $this->js[] = 'moment\min\moment-with-locales.js'; - $this->js[] = 'bootstrap-datepicker\dist\js\bootstrap-datepicker.js'; - $this->js[] = 'eonasdan-bootstrap-datetimepicker\src\js\bootstrap-datetimepicker.js'; - $this->css[] = 'eonasdan-bootstrap-datetimepicker\build\css\bootstrap-datetimepicker.css'; + $this->js[] = 'moment/min/moment-with-locales.js'; + $this->js[] = 'bootstrap-datepicker/dist/js/bootstrap-datepicker.js'; + $this->js[] = 'eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js'; + $this->css[] = 'eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css'; } else { - $this->js[] = 'moment\min\moment-with-locales.min.js'; - $this->js[] = 'bootstrap-datepicker\dist\js\bootstrap-datepicker.min.js'; - $this->js[] = 'eonasdan-bootstrap-datetimepicker\build\js\bootstrap-datetimepicker.min.jsredactor.min.js'; - $this->css[] = 'eonasdan-bootstrap-datetimepicker\build\css\bootstrap-datetimepicker.min.css'; + $this->js[] = 'moment/min/moment-with-locales.min.js'; + $this->js[] = 'bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js'; + $this->js[] = 'eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.jsredactor.min.js'; + $this->css[] = 'eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css'; } }