{"action":"closed","number":1321,"pull_request":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/pulls/1321","id":44987498,"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","issue_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1321","number":1321,"state":"closed","locked":false,"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},"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.","created_at":"2015-09-14T22:11:09Z","updated_at":"2015-09-15T06:41:03Z","closed_at":"2015-09-15T06:41:03Z","merged_at":null,"merge_commit_sha":"922e38a841cf9e45aeac690b1b569fb7462a6ab1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/pulls/1321/commits","review_comments_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/pulls/1321/comments","review_comment_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1321/comments","statuses_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/statuses/1af2977bcf90d911bf778790cc80ed3bae83441b","head":{"label":"jackmu95:fix-get-moment","ref":"fix-get-moment","sha":"1af2977bcf90d911bf778790cc80ed3bae83441b","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},"repo":{"id":42479228,"name":"bootstrap-datetimepicker","full_name":"jackmu95/bootstrap-datetimepicker","owner":{"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},"private":false,"html_url":"https://github.com/jackmu95/bootstrap-datetimepicker","description":"Date/time picker widget based on twitter bootstrap","fork":true,"url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker","forks_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/forks","keys_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/teams","hooks_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/hooks","issue_events_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/issues/events{/number}","events_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/events","assignees_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/assignees{/user}","branches_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/branches{/branch}","tags_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/tags","blobs_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/languages","stargazers_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/stargazers","contributors_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/contributors","subscribers_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/subscribers","subscription_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/subscription","commits_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/contents/{+path}","compare_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/merges","archive_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/downloads","issues_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/issues{/number}","pulls_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/labels{/name}","releases_url":"https://api.github.com/repos/jackmu95/bootstrap-datetimepicker/releases{/id}","created_at":"2015-09-14T21:53:51Z","updated_at":"2015-09-14T21:53:51Z","pushed_at":"2015-09-14T22:10:52Z","git_url":"git://github.com/jackmu95/bootstrap-datetimepicker.git","ssh_url":"git@github.com:jackmu95/bootstrap-datetimepicker.git","clone_url":"https://github.com/jackmu95/bootstrap-datetimepicker.git","svn_url":"https://github.com/jackmu95/bootstrap-datetimepicker","homepage":"http://eonasdan.github.io/bootstrap-datetimepicker/","size":6131,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Eonasdan:development","ref":"development","sha":"e897c971dc0c3e672101a0dd841ada674dc6ee50","user":{"login":"Eonasdan","id":1006516,"avatar_url":"https://avatars.githubusercontent.com/u/1006516?v=3","gravatar_id":"","url":"https://api.github.com/users/Eonasdan","html_url":"https://github.com/Eonasdan","followers_url":"https://api.github.com/users/Eonasdan/followers","following_url":"https://api.github.com/users/Eonasdan/following{/other_user}","gists_url":"https://api.github.com/users/Eonasdan/gists{/gist_id}","starred_url":"https://api.github.com/users/Eonasdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eonasdan/subscriptions","organizations_url":"https://api.github.com/users/Eonasdan/orgs","repos_url":"https://api.github.com/users/Eonasdan/repos","events_url":"https://api.github.com/users/Eonasdan/events{/privacy}","received_events_url":"https://api.github.com/users/Eonasdan/received_events","type":"User","site_admin":false},"repo":{"id":12495928,"name":"bootstrap-datetimepicker","full_name":"Eonasdan/bootstrap-datetimepicker","owner":{"login":"Eonasdan","id":1006516,"avatar_url":"https://avatars.githubusercontent.com/u/1006516?v=3","gravatar_id":"","url":"https://api.github.com/users/Eonasdan","html_url":"https://github.com/Eonasdan","followers_url":"https://api.github.com/users/Eonasdan/followers","following_url":"https://api.github.com/users/Eonasdan/following{/other_user}","gists_url":"https://api.github.com/users/Eonasdan/gists{/gist_id}","starred_url":"https://api.github.com/users/Eonasdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eonasdan/subscriptions","organizations_url":"https://api.github.com/users/Eonasdan/orgs","repos_url":"https://api.github.com/users/Eonasdan/repos","events_url":"https://api.github.com/users/Eonasdan/events{/privacy}","received_events_url":"https://api.github.com/users/Eonasdan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker","description":"Date/time picker widget based on twitter bootstrap","fork":false,"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker","forks_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/forks","keys_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/teams","hooks_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/hooks","issue_events_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/events{/number}","events_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/events","assignees_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/assignees{/user}","branches_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/branches{/branch}","tags_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/tags","blobs_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/languages","stargazers_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/stargazers","contributors_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/contributors","subscribers_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/subscribers","subscription_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/subscription","commits_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/contents/{+path}","compare_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/merges","archive_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/downloads","issues_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues{/number}","pulls_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/labels{/name}","releases_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/releases{/id}","created_at":"2013-08-30T21:27:54Z","updated_at":"2015-09-15T02:41:56Z","pushed_at":"2015-09-14T23:15:55Z","git_url":"git://github.com/Eonasdan/bootstrap-datetimepicker.git","ssh_url":"git@github.com:Eonasdan/bootstrap-datetimepicker.git","clone_url":"https://github.com/Eonasdan/bootstrap-datetimepicker.git","svn_url":"https://github.com/Eonasdan/bootstrap-datetimepicker","homepage":"http://eonasdan.github.io/bootstrap-datetimepicker/","size":6131,"stargazers_count":2996,"watchers_count":2996,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1883,"mirror_url":null,"open_issues_count":95,"forks":1883,"open_issues":95,"watchers":2996,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/pulls/1321"},"html":{"href":"https://github.com/Eonasdan/bootstrap-datetimepicker/pull/1321"},"issue":{"href":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1321"},"comments":{"href":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1321/comments"},"review_comments":{"href":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/pulls/1321/comments"},"review_comment":{"href":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/pulls/1321/commits"},"statuses":{"href":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/statuses/1af2977bcf90d911bf778790cc80ed3bae83441b"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":5,"changed_files":1}}