{"action":"created","issue":{"url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/969","repository_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker","labels_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/969/labels{/name}","comments_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/969/comments","events_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/969/events","html_url":"https://github.com/dangrossman/bootstrap-daterangepicker/issues/969","id":133066584,"number":969,"title":"SingleDatePicker don´t set current date","user":{"login":"ramilani12","id":142189,"avatar_url":"https://avatars.githubusercontent.com/u/142189?v=3","gravatar_id":"","url":"https://api.github.com/users/ramilani12","html_url":"https://github.com/ramilani12","followers_url":"https://api.github.com/users/ramilani12/followers","following_url":"https://api.github.com/users/ramilani12/following{/other_user}","gists_url":"https://api.github.com/users/ramilani12/gists{/gist_id}","starred_url":"https://api.github.com/users/ramilani12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramilani12/subscriptions","organizations_url":"https://api.github.com/users/ramilani12/orgs","repos_url":"https://api.github.com/users/ramilani12/repos","events_url":"https://api.github.com/users/ramilani12/events{/privacy}","received_events_url":"https://api.github.com/users/ramilani12/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-11T19:32:36Z","updated_at":"2016-02-12T12:32:41Z","closed_at":"2016-02-11T19:34:56Z","body":"Hi\r\nI have  faced an issue with date picker with config: SingleDatePicker and autoUpdateInput.\r\nI want my input empty value when the user access my page then I use autoUpdateInput : false, It works!\r\nBut when I click an input and try to select the current date for example today the datepicker don´t set the value, but with diferent value from today it works.\r\n\r\nI´ve tried a lot to fix that, but in vain."},"comment":{"url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/comments/183304683","html_url":"https://github.com/dangrossman/bootstrap-daterangepicker/issues/969#issuecomment-183304683","issue_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/969","id":183304683,"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-02-12T12:32:41Z","updated_at":"2016-02-12T12:32:41Z","body":"That's an empty function, there's no code in it that does anything. You wanted to set the value of an input.\r\n\r\n```\r\n$('#config-demo').on('apply.daterangepicker', function(ev,picker) {\r\n    $('#config-demo').val(picker.startDate.format('MM/DD/YYYY');\r\n});\r\n```"}}