{"action":"opened","issue":{"url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1376","repository_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker","labels_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1376/labels{/name}","comments_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1376/comments","events_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1376/events","html_url":"https://github.com/dangrossman/bootstrap-daterangepicker/issues/1376","id":204427707,"number":1376,"title":"February on the left, January on the right","user":{"login":"mityukov","id":1751910,"avatar_url":"https://avatars.githubusercontent.com/u/1751910?v=3","gravatar_id":"","url":"https://api.github.com/users/mityukov","html_url":"https://github.com/mityukov","followers_url":"https://api.github.com/users/mityukov/followers","following_url":"https://api.github.com/users/mityukov/following{/other_user}","gists_url":"https://api.github.com/users/mityukov/gists{/gist_id}","starred_url":"https://api.github.com/users/mityukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mityukov/subscriptions","organizations_url":"https://api.github.com/users/mityukov/orgs","repos_url":"https://api.github.com/users/mityukov/repos","events_url":"https://api.github.com/users/mityukov/events{/privacy}","received_events_url":"https://api.github.com/users/mityukov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-31T21:24:38Z","updated_at":"2017-01-31T21:24:38Z","closed_at":null,"body":"Hi,\r\n\r\nCan't fix the issue: calendar shows two months in reverse direction.\r\n\r\nWhat I've found out:\r\nThe dynamically created div has that \"opensright\" class which, removing of which (via DevTools) fixes the issue)\r\n`<div class=\"daterangepicker dropdown-menu ltr show-calendar\" ...>`\r\n\r\nI've tried to add an option: `opens: 'left'` to the \"constructor\" -- no luck :(\r\n\r\nIs there a way to get rid of it?\r\n\r\nHere's the full init code:\r\n\r\n```javascript\r\nvar drpLocale = {\r\n    \"format\": \"DD.MM.YYYY\",\r\n    \"separator\": \" - \",\r\n    \"applyLabel\": \"Выбрать\",\r\n    \"cancelLabel\": \"Очистить\",\r\n    \"fromLabel\": \"От\",\r\n    \"toLabel\": \"До\",\r\n    \"customRangeLabel\": \"Предустановки\",\r\n    \"weekLabel\": \"Н\",\r\n    \"firstDay\": 1\r\n};\r\n\r\n$('input[name=\"daterange\"]').daterangepicker(\r\n    {\r\n        locale: drpLocale,\r\n        // opens: 'left', // does not fix anything..\r\n        startDate: moment(this.dateFrom, 'YYYY-MM-DD').format('DD.MM.YYYY'),\r\n        endDate: moment(this.dateTo, 'YYYY-MM-DD').format('DD.MM.YYYY')\r\n    },\r\n    (start, end, label) => {\r\n        this.dateFrom = start.format('YYYY-MM-DD');\r\n        this.dateTo = end.format('YYYY-MM-DD');\r\n    }\r\n);\r\n```"}}
{"actor":{"display_login":"mityukov"}}