{"action":"created","issue":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1023","labels_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1023/labels{/name}","comments_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1023/comments","events_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1023/events","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1023","id":70507187,"number":1023,"title":"How can I force only dates and no time selector?","user":{"login":"toni-moreno","id":5883405,"avatar_url":"https://avatars.githubusercontent.com/u/5883405?v=3","gravatar_id":"","url":"https://api.github.com/users/toni-moreno","html_url":"https://github.com/toni-moreno","followers_url":"https://api.github.com/users/toni-moreno/followers","following_url":"https://api.github.com/users/toni-moreno/following{/other_user}","gists_url":"https://api.github.com/users/toni-moreno/gists{/gist_id}","starred_url":"https://api.github.com/users/toni-moreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toni-moreno/subscriptions","organizations_url":"https://api.github.com/users/toni-moreno/orgs","repos_url":"https://api.github.com/users/toni-moreno/repos","events_url":"https://api.github.com/users/toni-moreno/events{/privacy}","received_events_url":"https://api.github.com/users/toni-moreno/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/labels/Waiting%20feedback","name":"Waiting feedback","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-23T20:35:14Z","updated_at":"2015-04-24T05:56:40Z","closed_at":null,"body":"Hi  @Eonasdan \r\n\r\nI'm testing this promising tool, and I need some times choose date and time in that format \"dd/mm/yyyy hh:mm\"\r\n\r\nbut sometimes I need to close to choose only date ( no time ) in this format \"dd/mm/yyyy\" but I'm not able to do it.\r\n\r\nHow can I switch from \"date+time\" mode to ony \"date\" mode?\r\n\r\nThank you very much !!"},"comment":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/comments/95810338","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1023#issuecomment-95810338","issue_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1023","id":95810338,"user":{"login":"nikoskalogridis","id":7060216,"avatar_url":"https://avatars.githubusercontent.com/u/7060216?v=3","gravatar_id":"","url":"https://api.github.com/users/nikoskalogridis","html_url":"https://github.com/nikoskalogridis","followers_url":"https://api.github.com/users/nikoskalogridis/followers","following_url":"https://api.github.com/users/nikoskalogridis/following{/other_user}","gists_url":"https://api.github.com/users/nikoskalogridis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikoskalogridis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikoskalogridis/subscriptions","organizations_url":"https://api.github.com/users/nikoskalogridis/orgs","repos_url":"https://api.github.com/users/nikoskalogridis/repos","events_url":"https://api.github.com/users/nikoskalogridis/events{/privacy}","received_events_url":"https://api.github.com/users/nikoskalogridis/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T05:56:40Z","updated_at":"2015-04-24T05:56:40Z","body":"If you execute all three commands on the same element you actually creating three datetimepicker's attached to that element. After creation you should reference the actual datetimepicker attached to the element as follows:\r\n```\r\n$(\"#dt1\").data(\"DateTimePicker\").format(\"DD/MM/YYYY\")\r\n```"}}