{"action":"created","issue":{"url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1249","repository_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker","labels_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1249/labels{/name}","comments_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1249/comments","events_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1249/events","html_url":"https://github.com/dangrossman/bootstrap-daterangepicker/issues/1249","id":179044440,"number":1249,"title":"problem with date format","user":{"login":"liokaiser","id":22418013,"avatar_url":"https://avatars.githubusercontent.com/u/22418013?v=3","gravatar_id":"","url":"https://api.github.com/users/liokaiser","html_url":"https://github.com/liokaiser","followers_url":"https://api.github.com/users/liokaiser/followers","following_url":"https://api.github.com/users/liokaiser/following{/other_user}","gists_url":"https://api.github.com/users/liokaiser/gists{/gist_id}","starred_url":"https://api.github.com/users/liokaiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liokaiser/subscriptions","organizations_url":"https://api.github.com/users/liokaiser/orgs","repos_url":"https://api.github.com/users/liokaiser/repos","events_url":"https://api.github.com/users/liokaiser/events{/privacy}","received_events_url":"https://api.github.com/users/liokaiser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-24T18:25:20Z","updated_at":"2016-09-24T18:30:56Z","closed_at":null,"body":"Hello everybody,\r\nI just found this very good \"daterangepicker\", however, I have a problem of date format.\r\nI would wish to use the french formatting so I set the \"locale\" object with format : DD MMM YYYY\r\nit doesn't works when I set a \"startDate\" or \"endDate\" ...\r\n\r\n```\r\n$('#daterange').daterangepicker({\r\n                \"locale\": {\r\n                    \"format\": \"DD MMMM YYYY\",\r\n                    \"separator\": \" - \",\r\n                    \"weekLabel\": \"s\",\r\n                    \"daysOfWeek\": [\"Di\",\"Lu\",\"Ma\",\"Me\",\"Je\",\"Ve\",\"Sa\"],\r\n                    \"monthNames\": [ \"Janvier\",\"Février\",\"Mars\",\"Avril\",\"Mai\",\"Juin\",\"Juillet\",\"Août\",\"Septembre\",\"Octobre\",\"Novembre\",\"Décembre\"],\r\n                },\r\n                \"startDate\": \"09/28/16\",\r\n                \"endDate\": \"10/20/16\",\r\n                \"showWeekNumbers\": true,\r\n                \"autoApply\": true\r\n            }, function(start, end, label) {\r\n              console.log(\"New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')\");\r\n            });\r\n```\r\nI forgot something ?\r\nthanks"},"comment":{"url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/comments/249380141","html_url":"https://github.com/dangrossman/bootstrap-daterangepicker/issues/1249#issuecomment-249380141","issue_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1249","id":249380141,"user":{"login":"dangrossman","id":407706,"avatar_url":"https://avatars.githubusercontent.com/u/407706?v=3","gravatar_id":"","url":"https://api.github.com/users/dangrossman","html_url":"https://github.com/dangrossman","followers_url":"https://api.github.com/users/dangrossman/followers","following_url":"https://api.github.com/users/dangrossman/following{/other_user}","gists_url":"https://api.github.com/users/dangrossman/gists{/gist_id}","starred_url":"https://api.github.com/users/dangrossman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dangrossman/subscriptions","organizations_url":"https://api.github.com/users/dangrossman/orgs","repos_url":"https://api.github.com/users/dangrossman/repos","events_url":"https://api.github.com/users/dangrossman/events{/privacy}","received_events_url":"https://api.github.com/users/dangrossman/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T18:30:56Z","updated_at":"2016-09-24T18:30:56Z","body":"If you set the format to \"DD MMMM YYYY\", your start date should be \"28 September 2016\" (or a date object), not \"09/28/16\". It will be parsed according to the format you set."}}
{"actor":{"display_login":"dangrossman"}}