{"action":"closed","number":3191,"pull_request":{"url":"https://api.github.com/repos/moment/moment/pulls/3191","id":70745600,"html_url":"https://github.com/moment/moment/pull/3191","diff_url":"https://github.com/moment/moment/pull/3191.diff","patch_url":"https://github.com/moment/moment/pull/3191.patch","issue_url":"https://api.github.com/repos/moment/moment/issues/3191","number":3191,"state":"closed","locked":false,"title":"toDate returns a copy of the internal date object","user":{"login":"jonathathan","id":7103322,"avatar_url":"https://avatars.githubusercontent.com/u/7103322?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathathan","html_url":"https://github.com/jonathathan","followers_url":"https://api.github.com/users/jonathathan/followers","following_url":"https://api.github.com/users/jonathathan/following{/other_user}","gists_url":"https://api.github.com/users/jonathathan/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathathan/subscriptions","organizations_url":"https://api.github.com/users/jonathathan/orgs","repos_url":"https://api.github.com/users/jonathathan/repos","events_url":"https://api.github.com/users/jonathathan/events{/privacy}","received_events_url":"https://api.github.com/users/jonathathan/received_events","type":"User","site_admin":false},"body":"moment#toDate currently returns the internal date object, which can lead to strange behaviour if the moment object is then modified. See [this fiddle for an example](https://jsfiddle.net/67uaf0zu/).","created_at":"2016-05-19T18:50:43Z","updated_at":"2016-06-05T20:02:55Z","closed_at":"2016-06-05T20:02:55Z","merged_at":null,"merge_commit_sha":"2c039ee86ec24b9881b21bc66c4dbc4e2ecdf0ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/moment/moment/pulls/3191/commits","review_comments_url":"https://api.github.com/repos/moment/moment/pulls/3191/comments","review_comment_url":"https://api.github.com/repos/moment/moment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moment/moment/issues/3191/comments","statuses_url":"https://api.github.com/repos/moment/moment/statuses/be13fcd6ad914276cfdf0aa7f52bf2a5eaa9c1fd","head":{"label":"jonathathan:develop","ref":"develop","sha":"be13fcd6ad914276cfdf0aa7f52bf2a5eaa9c1fd","user":{"login":"jonathathan","id":7103322,"avatar_url":"https://avatars.githubusercontent.com/u/7103322?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathathan","html_url":"https://github.com/jonathathan","followers_url":"https://api.github.com/users/jonathathan/followers","following_url":"https://api.github.com/users/jonathathan/following{/other_user}","gists_url":"https://api.github.com/users/jonathathan/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathathan/subscriptions","organizations_url":"https://api.github.com/users/jonathathan/orgs","repos_url":"https://api.github.com/users/jonathathan/repos","events_url":"https://api.github.com/users/jonathathan/events{/privacy}","received_events_url":"https://api.github.com/users/jonathathan/received_events","type":"User","site_admin":false},"repo":{"id":59231423,"name":"moment","full_name":"jonathathan/moment","owner":{"login":"jonathathan","id":7103322,"avatar_url":"https://avatars.githubusercontent.com/u/7103322?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathathan","html_url":"https://github.com/jonathathan","followers_url":"https://api.github.com/users/jonathathan/followers","following_url":"https://api.github.com/users/jonathathan/following{/other_user}","gists_url":"https://api.github.com/users/jonathathan/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathathan/subscriptions","organizations_url":"https://api.github.com/users/jonathathan/orgs","repos_url":"https://api.github.com/users/jonathathan/repos","events_url":"https://api.github.com/users/jonathathan/events{/privacy}","received_events_url":"https://api.github.com/users/jonathathan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonathathan/moment","description":"Parse, validate, manipulate, and display dates in javascript.","fork":true,"url":"https://api.github.com/repos/jonathathan/moment","forks_url":"https://api.github.com/repos/jonathathan/moment/forks","keys_url":"https://api.github.com/repos/jonathathan/moment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonathathan/moment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonathathan/moment/teams","hooks_url":"https://api.github.com/repos/jonathathan/moment/hooks","issue_events_url":"https://api.github.com/repos/jonathathan/moment/issues/events{/number}","events_url":"https://api.github.com/repos/jonathathan/moment/events","assignees_url":"https://api.github.com/repos/jonathathan/moment/assignees{/user}","branches_url":"https://api.github.com/repos/jonathathan/moment/branches{/branch}","tags_url":"https://api.github.com/repos/jonathathan/moment/tags","blobs_url":"https://api.github.com/repos/jonathathan/moment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonathathan/moment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonathathan/moment/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonathathan/moment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonathathan/moment/statuses/{sha}","languages_url":"https://api.github.com/repos/jonathathan/moment/languages","stargazers_url":"https://api.github.com/repos/jonathathan/moment/stargazers","contributors_url":"https://api.github.com/repos/jonathathan/moment/contributors","subscribers_url":"https://api.github.com/repos/jonathathan/moment/subscribers","subscription_url":"https://api.github.com/repos/jonathathan/moment/subscription","commits_url":"https://api.github.com/repos/jonathathan/moment/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonathathan/moment/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonathathan/moment/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonathathan/moment/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonathathan/moment/contents/{+path}","compare_url":"https://api.github.com/repos/jonathathan/moment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonathathan/moment/merges","archive_url":"https://api.github.com/repos/jonathathan/moment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonathathan/moment/downloads","issues_url":"https://api.github.com/repos/jonathathan/moment/issues{/number}","pulls_url":"https://api.github.com/repos/jonathathan/moment/pulls{/number}","milestones_url":"https://api.github.com/repos/jonathathan/moment/milestones{/number}","notifications_url":"https://api.github.com/repos/jonathathan/moment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonathathan/moment/labels{/name}","releases_url":"https://api.github.com/repos/jonathathan/moment/releases{/id}","deployments_url":"https://api.github.com/repos/jonathathan/moment/deployments","created_at":"2016-05-19T18:23:54Z","updated_at":"2016-05-19T18:24:00Z","pushed_at":"2016-05-21T20:07:05Z","git_url":"git://github.com/jonathathan/moment.git","ssh_url":"git@github.com:jonathathan/moment.git","clone_url":"https://github.com/jonathathan/moment.git","svn_url":"https://github.com/jonathathan/moment","homepage":"momentjs.com","size":11114,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"moment:develop","ref":"develop","sha":"aea2a8961bc4dbff0471d0615af1f4fb98fc81d7","user":{"login":"moment","id":4129662,"avatar_url":"https://avatars.githubusercontent.com/u/4129662?v=3","gravatar_id":"","url":"https://api.github.com/users/moment","html_url":"https://github.com/moment","followers_url":"https://api.github.com/users/moment/followers","following_url":"https://api.github.com/users/moment/following{/other_user}","gists_url":"https://api.github.com/users/moment/gists{/gist_id}","starred_url":"https://api.github.com/users/moment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moment/subscriptions","organizations_url":"https://api.github.com/users/moment/orgs","repos_url":"https://api.github.com/users/moment/repos","events_url":"https://api.github.com/users/moment/events{/privacy}","received_events_url":"https://api.github.com/users/moment/received_events","type":"Organization","site_admin":false},"repo":{"id":1424470,"name":"moment","full_name":"moment/moment","owner":{"login":"moment","id":4129662,"avatar_url":"https://avatars.githubusercontent.com/u/4129662?v=3","gravatar_id":"","url":"https://api.github.com/users/moment","html_url":"https://github.com/moment","followers_url":"https://api.github.com/users/moment/followers","following_url":"https://api.github.com/users/moment/following{/other_user}","gists_url":"https://api.github.com/users/moment/gists{/gist_id}","starred_url":"https://api.github.com/users/moment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moment/subscriptions","organizations_url":"https://api.github.com/users/moment/orgs","repos_url":"https://api.github.com/users/moment/repos","events_url":"https://api.github.com/users/moment/events{/privacy}","received_events_url":"https://api.github.com/users/moment/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moment/moment","description":"Parse, validate, manipulate, and display dates in javascript.","fork":false,"url":"https://api.github.com/repos/moment/moment","forks_url":"https://api.github.com/repos/moment/moment/forks","keys_url":"https://api.github.com/repos/moment/moment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moment/moment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moment/moment/teams","hooks_url":"https://api.github.com/repos/moment/moment/hooks","issue_events_url":"https://api.github.com/repos/moment/moment/issues/events{/number}","events_url":"https://api.github.com/repos/moment/moment/events","assignees_url":"https://api.github.com/repos/moment/moment/assignees{/user}","branches_url":"https://api.github.com/repos/moment/moment/branches{/branch}","tags_url":"https://api.github.com/repos/moment/moment/tags","blobs_url":"https://api.github.com/repos/moment/moment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moment/moment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moment/moment/git/refs{/sha}","trees_url":"https://api.github.com/repos/moment/moment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moment/moment/statuses/{sha}","languages_url":"https://api.github.com/repos/moment/moment/languages","stargazers_url":"https://api.github.com/repos/moment/moment/stargazers","contributors_url":"https://api.github.com/repos/moment/moment/contributors","subscribers_url":"https://api.github.com/repos/moment/moment/subscribers","subscription_url":"https://api.github.com/repos/moment/moment/subscription","commits_url":"https://api.github.com/repos/moment/moment/commits{/sha}","git_commits_url":"https://api.github.com/repos/moment/moment/git/commits{/sha}","comments_url":"https://api.github.com/repos/moment/moment/comments{/number}","issue_comment_url":"https://api.github.com/repos/moment/moment/issues/comments{/number}","contents_url":"https://api.github.com/repos/moment/moment/contents/{+path}","compare_url":"https://api.github.com/repos/moment/moment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moment/moment/merges","archive_url":"https://api.github.com/repos/moment/moment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moment/moment/downloads","issues_url":"https://api.github.com/repos/moment/moment/issues{/number}","pulls_url":"https://api.github.com/repos/moment/moment/pulls{/number}","milestones_url":"https://api.github.com/repos/moment/moment/milestones{/number}","notifications_url":"https://api.github.com/repos/moment/moment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moment/moment/labels{/name}","releases_url":"https://api.github.com/repos/moment/moment/releases{/id}","deployments_url":"https://api.github.com/repos/moment/moment/deployments","created_at":"2011-03-01T02:46:06Z","updated_at":"2016-06-05T19:22:12Z","pushed_at":"2016-05-31T18:06:52Z","git_url":"git://github.com/moment/moment.git","ssh_url":"git@github.com:moment/moment.git","clone_url":"https://github.com/moment/moment.git","svn_url":"https://github.com/moment/moment","homepage":"momentjs.com","size":17052,"stargazers_count":26349,"watchers_count":26349,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3553,"mirror_url":null,"open_issues_count":186,"forks":3553,"open_issues":186,"watchers":26349,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/moment/moment/pulls/3191"},"html":{"href":"https://github.com/moment/moment/pull/3191"},"issue":{"href":"https://api.github.com/repos/moment/moment/issues/3191"},"comments":{"href":"https://api.github.com/repos/moment/moment/issues/3191/comments"},"review_comments":{"href":"https://api.github.com/repos/moment/moment/pulls/3191/comments"},"review_comment":{"href":"https://api.github.com/repos/moment/moment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moment/moment/pulls/3191/commits"},"statuses":{"href":"https://api.github.com/repos/moment/moment/statuses/be13fcd6ad914276cfdf0aa7f52bf2a5eaa9c1fd"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":5,"review_comments":0,"commits":2,"additions":8,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"ichernev"}}