{"action":"created","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/16","labels_url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/16/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/16/events","html_url":"https://github.com/kartik-v/yii2-widget-datepicker/issues/16","id":55419630,"number":16,"title":"Language not load","user":{"login":"PendalF89","id":5278851,"avatar_url":"https://avatars.githubusercontent.com/u/5278851?v=3","gravatar_id":"","url":"https://api.github.com/users/PendalF89","html_url":"https://github.com/PendalF89","followers_url":"https://api.github.com/users/PendalF89/followers","following_url":"https://api.github.com/users/PendalF89/following{/other_user}","gists_url":"https://api.github.com/users/PendalF89/gists{/gist_id}","starred_url":"https://api.github.com/users/PendalF89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PendalF89/subscriptions","organizations_url":"https://api.github.com/users/PendalF89/orgs","repos_url":"https://api.github.com/users/PendalF89/repos","events_url":"https://api.github.com/users/PendalF89/events{/privacy}","received_events_url":"https://api.github.com/users/PendalF89/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-25T15:50:02Z","updated_at":"2015-01-25T16:54:35Z","closed_at":"2015-01-25T16:29:37Z","body":"Hi!\r\nI'm using this extension and have some problem\r\n```php\r\necho DatePicker::widget([\r\n    'name' => 'check_issue_date',\r\n    'value' => date('Y-m-d', strtotime('+2 days')),\r\n    'options' => ['placeholder' => 'Select issue date ...'],\r\n    'language' => 'ru',\r\n    'pluginOptions' => [\r\n        'format' => 'yyyy-mm-dd',\r\n        'todayHighlight' => true\r\n    ]\r\n]);\r\n```\r\n\r\nBut language not load! No any errors, just english language.\r\nI found logical error in 140 line in DatePicker.php\r\n```php\r\n$this->setLanguage('bootstrap-datepicker.', __DIR__ . \"/assets/\");\r\n```\r\nso, add slash to assets:\r\n```php\r\n$this->setLanguage('bootstrap-datepicker.', __DIR__ . \"/assets//\");\r\n```\r\nand it works!\r\nWhat you think about it?"},"comment":{"url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/comments/71380880","html_url":"https://github.com/kartik-v/yii2-widget-datepicker/issues/16#issuecomment-71380880","issue_url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/16","id":71380880,"user":{"login":"PendalF89","id":5278851,"avatar_url":"https://avatars.githubusercontent.com/u/5278851?v=3","gravatar_id":"","url":"https://api.github.com/users/PendalF89","html_url":"https://github.com/PendalF89","followers_url":"https://api.github.com/users/PendalF89/followers","following_url":"https://api.github.com/users/PendalF89/following{/other_user}","gists_url":"https://api.github.com/users/PendalF89/gists{/gist_id}","starred_url":"https://api.github.com/users/PendalF89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PendalF89/subscriptions","organizations_url":"https://api.github.com/users/PendalF89/orgs","repos_url":"https://api.github.com/users/PendalF89/repos","events_url":"https://api.github.com/users/PendalF89/events{/privacy}","received_events_url":"https://api.github.com/users/PendalF89/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T16:54:35Z","updated_at":"2015-01-25T16:54:35Z","body":"Great! Thank you so much!"}}