{"action":"closed","number":2494,"pull_request":{"url":"https://api.github.com/repos/moment/moment/pulls/2494","id":40354212,"html_url":"https://github.com/moment/moment/pull/2494","diff_url":"https://github.com/moment/moment/pull/2494.diff","patch_url":"https://github.com/moment/moment/pull/2494.patch","issue_url":"https://api.github.com/repos/moment/moment/issues/2494","number":2494,"state":"closed","locked":false,"title":"Fix two digit year parsing with YYYY format","user":{"login":"stewartml","id":1624432,"avatar_url":"https://avatars.githubusercontent.com/u/1624432?v=3","gravatar_id":"","url":"https://api.github.com/users/stewartml","html_url":"https://github.com/stewartml","followers_url":"https://api.github.com/users/stewartml/followers","following_url":"https://api.github.com/users/stewartml/following{/other_user}","gists_url":"https://api.github.com/users/stewartml/gists{/gist_id}","starred_url":"https://api.github.com/users/stewartml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewartml/subscriptions","organizations_url":"https://api.github.com/users/stewartml/orgs","repos_url":"https://api.github.com/users/stewartml/repos","events_url":"https://api.github.com/users/stewartml/events{/privacy}","received_events_url":"https://api.github.com/users/stewartml/received_events","type":"User","site_admin":false},"body":"Further to the discussion in #2344, this PR provides an alternative way to fix #2343.\r\n\r\nI've had to delete one of the existing tests to get this to pass -- it seems that although a couple of people have agreed that the behaviour described in #2343 is unwanted, there was actually a test there to make sure it happened.","created_at":"2015-07-20T13:57:04Z","updated_at":"2015-07-26T04:49:16Z","closed_at":"2015-07-26T04:49:16Z","merged_at":null,"merge_commit_sha":"c468fad24e8e405d846e5f1020f2c602be65bc93","assignee":null,"milestone":{"url":"https://api.github.com/repos/moment/moment/milestones/24","html_url":"https://github.com/moment/moment/milestones/2.10.5","labels_url":"https://api.github.com/repos/moment/moment/milestones/24/labels","id":1184130,"number":24,"title":"2.10.5","description":null,"creator":{"login":"ichernev","id":757060,"avatar_url":"https://avatars.githubusercontent.com/u/757060?v=3","gravatar_id":"","url":"https://api.github.com/users/ichernev","html_url":"https://github.com/ichernev","followers_url":"https://api.github.com/users/ichernev/followers","following_url":"https://api.github.com/users/ichernev/following{/other_user}","gists_url":"https://api.github.com/users/ichernev/gists{/gist_id}","starred_url":"https://api.github.com/users/ichernev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichernev/subscriptions","organizations_url":"https://api.github.com/users/ichernev/orgs","repos_url":"https://api.github.com/users/ichernev/repos","events_url":"https://api.github.com/users/ichernev/events{/privacy}","received_events_url":"https://api.github.com/users/ichernev/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":31,"state":"open","created_at":"2015-06-28T09:44:59Z","updated_at":"2015-07-26T04:49:16Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/moment/moment/pulls/2494/commits","review_comments_url":"https://api.github.com/repos/moment/moment/pulls/2494/comments","review_comment_url":"https://api.github.com/repos/moment/moment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moment/moment/issues/2494/comments","statuses_url":"https://api.github.com/repos/moment/moment/statuses/456897f94b02284e19f880d302a7a406d0f47987","head":{"label":"stewartml:yyyy-fix","ref":"yyyy-fix","sha":"456897f94b02284e19f880d302a7a406d0f47987","user":{"login":"stewartml","id":1624432,"avatar_url":"https://avatars.githubusercontent.com/u/1624432?v=3","gravatar_id":"","url":"https://api.github.com/users/stewartml","html_url":"https://github.com/stewartml","followers_url":"https://api.github.com/users/stewartml/followers","following_url":"https://api.github.com/users/stewartml/following{/other_user}","gists_url":"https://api.github.com/users/stewartml/gists{/gist_id}","starred_url":"https://api.github.com/users/stewartml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewartml/subscriptions","organizations_url":"https://api.github.com/users/stewartml/orgs","repos_url":"https://api.github.com/users/stewartml/repos","events_url":"https://api.github.com/users/stewartml/events{/privacy}","received_events_url":"https://api.github.com/users/stewartml/received_events","type":"User","site_admin":false},"repo":{"id":34476956,"name":"moment","full_name":"stewartml/moment","owner":{"login":"stewartml","id":1624432,"avatar_url":"https://avatars.githubusercontent.com/u/1624432?v=3","gravatar_id":"","url":"https://api.github.com/users/stewartml","html_url":"https://github.com/stewartml","followers_url":"https://api.github.com/users/stewartml/followers","following_url":"https://api.github.com/users/stewartml/following{/other_user}","gists_url":"https://api.github.com/users/stewartml/gists{/gist_id}","starred_url":"https://api.github.com/users/stewartml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewartml/subscriptions","organizations_url":"https://api.github.com/users/stewartml/orgs","repos_url":"https://api.github.com/users/stewartml/repos","events_url":"https://api.github.com/users/stewartml/events{/privacy}","received_events_url":"https://api.github.com/users/stewartml/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stewartml/moment","description":"Parse, validate, manipulate, and display dates in javascript.","fork":true,"url":"https://api.github.com/repos/stewartml/moment","forks_url":"https://api.github.com/repos/stewartml/moment/forks","keys_url":"https://api.github.com/repos/stewartml/moment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stewartml/moment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stewartml/moment/teams","hooks_url":"https://api.github.com/repos/stewartml/moment/hooks","issue_events_url":"https://api.github.com/repos/stewartml/moment/issues/events{/number}","events_url":"https://api.github.com/repos/stewartml/moment/events","assignees_url":"https://api.github.com/repos/stewartml/moment/assignees{/user}","branches_url":"https://api.github.com/repos/stewartml/moment/branches{/branch}","tags_url":"https://api.github.com/repos/stewartml/moment/tags","blobs_url":"https://api.github.com/repos/stewartml/moment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stewartml/moment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stewartml/moment/git/refs{/sha}","trees_url":"https://api.github.com/repos/stewartml/moment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stewartml/moment/statuses/{sha}","languages_url":"https://api.github.com/repos/stewartml/moment/languages","stargazers_url":"https://api.github.com/repos/stewartml/moment/stargazers","contributors_url":"https://api.github.com/repos/stewartml/moment/contributors","subscribers_url":"https://api.github.com/repos/stewartml/moment/subscribers","subscription_url":"https://api.github.com/repos/stewartml/moment/subscription","commits_url":"https://api.github.com/repos/stewartml/moment/commits{/sha}","git_commits_url":"https://api.github.com/repos/stewartml/moment/git/commits{/sha}","comments_url":"https://api.github.com/repos/stewartml/moment/comments{/number}","issue_comment_url":"https://api.github.com/repos/stewartml/moment/issues/comments{/number}","contents_url":"https://api.github.com/repos/stewartml/moment/contents/{+path}","compare_url":"https://api.github.com/repos/stewartml/moment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stewartml/moment/merges","archive_url":"https://api.github.com/repos/stewartml/moment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stewartml/moment/downloads","issues_url":"https://api.github.com/repos/stewartml/moment/issues{/number}","pulls_url":"https://api.github.com/repos/stewartml/moment/pulls{/number}","milestones_url":"https://api.github.com/repos/stewartml/moment/milestones{/number}","notifications_url":"https://api.github.com/repos/stewartml/moment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stewartml/moment/labels{/name}","releases_url":"https://api.github.com/repos/stewartml/moment/releases{/id}","created_at":"2015-04-23T19:27:35Z","updated_at":"2015-04-23T19:27:38Z","pushed_at":"2015-07-21T18:04:15Z","git_url":"git://github.com/stewartml/moment.git","ssh_url":"git@github.com:stewartml/moment.git","clone_url":"https://github.com/stewartml/moment.git","svn_url":"https://github.com/stewartml/moment","homepage":"momentjs.com","size":9719,"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":"27e22be08e5f7706a950d5ffb92020204eb37373","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}","created_at":"2011-03-01T02:46:06Z","updated_at":"2015-07-25T21:15:26Z","pushed_at":"2015-07-26T04:49:15Z","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":18986,"stargazers_count":21860,"watchers_count":21860,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2524,"mirror_url":null,"open_issues_count":188,"forks":2524,"open_issues":188,"watchers":21860,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/moment/moment/pulls/2494"},"html":{"href":"https://github.com/moment/moment/pull/2494"},"issue":{"href":"https://api.github.com/repos/moment/moment/issues/2494"},"comments":{"href":"https://api.github.com/repos/moment/moment/issues/2494/comments"},"review_comments":{"href":"https://api.github.com/repos/moment/moment/pulls/2494/comments"},"review_comment":{"href":"https://api.github.com/repos/moment/moment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moment/moment/pulls/2494/commits"},"statuses":{"href":"https://api.github.com/repos/moment/moment/statuses/456897f94b02284e19f880d302a7a406d0f47987"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":11,"deletions":3,"changed_files":2}}