{"action":"created","issue":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1321","labels_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1321/labels{/name}","comments_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1321/comments","events_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1321/events","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/pull/1321","id":106438285,"number":1321,"title":"Fix the `getMoment` function","user":{"login":"jackmu95","id":2737132,"avatar_url":"https://avatars.githubusercontent.com/u/2737132?v=3","gravatar_id":"","url":"https://api.github.com/users/jackmu95","html_url":"https://github.com/jackmu95","followers_url":"https://api.github.com/users/jackmu95/followers","following_url":"https://api.github.com/users/jackmu95/following{/other_user}","gists_url":"https://api.github.com/users/jackmu95/gists{/gist_id}","starred_url":"https://api.github.com/users/jackmu95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackmu95/subscriptions","organizations_url":"https://api.github.com/users/jackmu95/orgs","repos_url":"https://api.github.com/users/jackmu95/repos","events_url":"https://api.github.com/users/jackmu95/events{/privacy}","received_events_url":"https://api.github.com/users/jackmu95/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-14T22:11:09Z","updated_at":"2015-10-29T03:37:56Z","closed_at":"2015-09-15T06:41:03Z","pull_request":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/pulls/1321","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/pull/1321","diff_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/pull/1321.diff","patch_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/pull/1321.patch"},"body":"This fixes #1311.\r\n\r\nThe function trimmed newly created moments to the hole day by default\r\nwhich caused problems with the `useCurrent` option. Removing\r\n`.startOf('d') fixes the problem."},"comment":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/comments/152065147","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/pull/1321#issuecomment-152065147","issue_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1321","id":152065147,"user":{"login":"osiro","id":97817,"avatar_url":"https://avatars.githubusercontent.com/u/97817?v=3","gravatar_id":"","url":"https://api.github.com/users/osiro","html_url":"https://github.com/osiro","followers_url":"https://api.github.com/users/osiro/followers","following_url":"https://api.github.com/users/osiro/following{/other_user}","gists_url":"https://api.github.com/users/osiro/gists{/gist_id}","starred_url":"https://api.github.com/users/osiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osiro/subscriptions","organizations_url":"https://api.github.com/users/osiro/orgs","repos_url":"https://api.github.com/users/osiro/repos","events_url":"https://api.github.com/users/osiro/events{/privacy}","received_events_url":"https://api.github.com/users/osiro/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T03:37:56Z","updated_at":"2015-10-29T03:37:56Z","body":"Hey guys, has this been fixed/merged by any chance?\r\n\r\nThe `useCurrent` method fallbacks to current date at 00:00:00, not to current time."}}