{"action":"created","issue":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1477","repository_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker","labels_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1477/labels{/name}","comments_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1477/comments","events_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1477/events","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1477","id":135632490,"number":1477,"title":"Cannot set Default Time","user":{"login":"seivad","id":6054798,"avatar_url":"https://avatars.githubusercontent.com/u/6054798?v=3","gravatar_id":"","url":"https://api.github.com/users/seivad","html_url":"https://github.com/seivad","followers_url":"https://api.github.com/users/seivad/followers","following_url":"https://api.github.com/users/seivad/following{/other_user}","gists_url":"https://api.github.com/users/seivad/gists{/gist_id}","starred_url":"https://api.github.com/users/seivad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seivad/subscriptions","organizations_url":"https://api.github.com/users/seivad/orgs","repos_url":"https://api.github.com/users/seivad/repos","events_url":"https://api.github.com/users/seivad/events{/privacy}","received_events_url":"https://api.github.com/users/seivad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-23T04:48:29Z","updated_at":"2016-02-24T02:21:52Z","closed_at":null,"body":"I have the time and date components split between 2 separate input boxes. here is my code for the time picker component, but no matter what I pass it (moment, string) it defaults to the wrong time.\r\n\r\n$('#time-picker').datetimepicker({format:'LT', defaultDate: timeNow, allowInputToggle: true, stepping: '15', disabledHours: ['0', '1', '2', '3', '4', '5', '22', '23'] });\r\n\r\ntimeNow is a moment object and formated as hh::mm A\r\n\r\nI've tried formatting from LT to hh:mm A and it didn't do anything different. \r\n\r\nPretty stuck on this, not being able to simple set the defaultTime is a pain.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/comments/188016022","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1477#issuecomment-188016022","issue_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1477","id":188016022,"user":{"login":"afanasy","id":677646,"avatar_url":"https://avatars.githubusercontent.com/u/677646?v=3","gravatar_id":"","url":"https://api.github.com/users/afanasy","html_url":"https://github.com/afanasy","followers_url":"https://api.github.com/users/afanasy/followers","following_url":"https://api.github.com/users/afanasy/following{/other_user}","gists_url":"https://api.github.com/users/afanasy/gists{/gist_id}","starred_url":"https://api.github.com/users/afanasy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afanasy/subscriptions","organizations_url":"https://api.github.com/users/afanasy/orgs","repos_url":"https://api.github.com/users/afanasy/repos","events_url":"https://api.github.com/users/afanasy/events{/privacy}","received_events_url":"https://api.github.com/users/afanasy/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T02:21:52Z","updated_at":"2016-02-24T02:21:52Z","body":"I'm experiencing the same problem\r\n```js\r\ndatetimepicker({\r\n  format: 'hh:mm A',\r\n  showClear: true,\r\n  defaultDate: moment(timePoint.value, 'HH:mm:ss')\r\n})\r\n```\r\nthis resets input time to 12:00 PM when the picker pops up"}}