{"action":"created","comment":{"url":"https://api.github.com/repos/201-created/LG/pulls/comments/24940656","id":24940656,"diff_hunk":"@@ -2,6 +2,7 @@ import Ember from 'ember';\n import startApp from '../helpers/start-app';\n import { stubRequest } from '../helpers/fake-server';\n import { stubGetOrganizations, stubImageSetJSON } from '../helpers/fake-requests';\n+import ago from 'ember-moment/helpers/ago';","path":"tests/acceptance/image-set-test.js","position":4,"original_position":4,"commit_id":"3fa0385f7ef7c5532c917388baf11ae1ab31fc79","original_commit_id":"3fa0385f7ef7c5532c917388baf11ae1ab31fc79","user":{"login":"bantic","id":2023,"avatar_url":"https://avatars.githubusercontent.com/u/2023?v=3","gravatar_id":"","url":"https://api.github.com/users/bantic","html_url":"https://github.com/bantic","followers_url":"https://api.github.com/users/bantic/followers","following_url":"https://api.github.com/users/bantic/following{/other_user}","gists_url":"https://api.github.com/users/bantic/gists{/gist_id}","starred_url":"https://api.github.com/users/bantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bantic/subscriptions","organizations_url":"https://api.github.com/users/bantic/orgs","repos_url":"https://api.github.com/users/bantic/repos","events_url":"https://api.github.com/users/bantic/events{/privacy}","received_events_url":"https://api.github.com/users/bantic/received_events","type":"User","site_admin":false},"body":"this is unused","created_at":"2015-02-18T21:02:58Z","updated_at":"2015-02-18T21:02:58Z","html_url":"https://github.com/201-created/LG/pull/13#discussion_r24940656","pull_request_url":"https://api.github.com/repos/201-created/LG/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/201-created/LG/pulls/comments/24940656"},"html":{"href":"https://github.com/201-created/LG/pull/13#discussion_r24940656"},"pull_request":{"href":"https://api.github.com/repos/201-created/LG/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/201-created/LG/pulls/13","id":29380212,"html_url":"https://github.com/201-created/LG/pull/13","diff_url":"https://github.com/201-created/LG/pull/13.diff","patch_url":"https://github.com/201-created/LG/pull/13.patch","issue_url":"https://api.github.com/repos/201-created/LG/issues/13","number":13,"state":"open","locked":false,"title":"Date of Birth range selector","user":{"login":"iezer","id":87991,"avatar_url":"https://avatars.githubusercontent.com/u/87991?v=3","gravatar_id":"","url":"https://api.github.com/users/iezer","html_url":"https://github.com/iezer","followers_url":"https://api.github.com/users/iezer/followers","following_url":"https://api.github.com/users/iezer/following{/other_user}","gists_url":"https://api.github.com/users/iezer/gists{/gist_id}","starred_url":"https://api.github.com/users/iezer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iezer/subscriptions","organizations_url":"https://api.github.com/users/iezer/orgs","repos_url":"https://api.github.com/users/iezer/repos","events_url":"https://api.github.com/users/iezer/events{/privacy}","received_events_url":"https://api.github.com/users/iezer/received_events","type":"User","site_admin":false},"body":"@redyaffle  Thanks for your hard work this weekend.\r\n\r\nI had something like this in mind for the age selector. We store the age as a date on the image set and lion objects and then we have a component that converts an age range to a year like 3-6 years would become today's date - 4.5 years.\r\n\r\nHave a look and let me know what you think. I also tried out using moment.js to show the date.\r\n\r\nHere's what it looks like\r\n![](http://g.recordit.co/vi8EJKpP6s.gif)\r\n\r\n@bantic  feel free to weigh in\r\n\r\nIt would be great if you could add some tests for this and do a similar but different for searching that would spit out a pair of dates.","created_at":"2015-02-16T15:22:20Z","updated_at":"2015-02-18T21:02:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1684e9ae23e1573b51f9421a206dd07a24b89c9b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/201-created/LG/pulls/13/commits","review_comments_url":"https://api.github.com/repos/201-created/LG/pulls/13/comments","review_comment_url":"https://api.github.com/repos/201-created/LG/pulls/comments/{number}","comments_url":"https://api.github.com/repos/201-created/LG/issues/13/comments","statuses_url":"https://api.github.com/repos/201-created/LG/statuses/3fa0385f7ef7c5532c917388baf11ae1ab31fc79","head":{"label":"201-created:age-selector","ref":"age-selector","sha":"3fa0385f7ef7c5532c917388baf11ae1ab31fc79","user":{"login":"201-created","id":5312906,"avatar_url":"https://avatars.githubusercontent.com/u/5312906?v=3","gravatar_id":"","url":"https://api.github.com/users/201-created","html_url":"https://github.com/201-created","followers_url":"https://api.github.com/users/201-created/followers","following_url":"https://api.github.com/users/201-created/following{/other_user}","gists_url":"https://api.github.com/users/201-created/gists{/gist_id}","starred_url":"https://api.github.com/users/201-created/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/201-created/subscriptions","organizations_url":"https://api.github.com/users/201-created/orgs","repos_url":"https://api.github.com/users/201-created/repos","events_url":"https://api.github.com/users/201-created/events{/privacy}","received_events_url":"https://api.github.com/users/201-created/received_events","type":"Organization","site_admin":false},"repo":{"id":29484033,"name":"LG","full_name":"201-created/LG","owner":{"login":"201-created","id":5312906,"avatar_url":"https://avatars.githubusercontent.com/u/5312906?v=3","gravatar_id":"","url":"https://api.github.com/users/201-created","html_url":"https://github.com/201-created","followers_url":"https://api.github.com/users/201-created/followers","following_url":"https://api.github.com/users/201-created/following{/other_user}","gists_url":"https://api.github.com/users/201-created/gists{/gist_id}","starred_url":"https://api.github.com/users/201-created/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/201-created/subscriptions","organizations_url":"https://api.github.com/users/201-created/orgs","repos_url":"https://api.github.com/users/201-created/repos","events_url":"https://api.github.com/users/201-created/events{/privacy}","received_events_url":"https://api.github.com/users/201-created/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/201-created/LG","description":"LG Front-End","fork":false,"url":"https://api.github.com/repos/201-created/LG","forks_url":"https://api.github.com/repos/201-created/LG/forks","keys_url":"https://api.github.com/repos/201-created/LG/keys{/key_id}","collaborators_url":"https://api.github.com/repos/201-created/LG/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/201-created/LG/teams","hooks_url":"https://api.github.com/repos/201-created/LG/hooks","issue_events_url":"https://api.github.com/repos/201-created/LG/issues/events{/number}","events_url":"https://api.github.com/repos/201-created/LG/events","assignees_url":"https://api.github.com/repos/201-created/LG/assignees{/user}","branches_url":"https://api.github.com/repos/201-created/LG/branches{/branch}","tags_url":"https://api.github.com/repos/201-created/LG/tags","blobs_url":"https://api.github.com/repos/201-created/LG/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/201-created/LG/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/201-created/LG/git/refs{/sha}","trees_url":"https://api.github.com/repos/201-created/LG/git/trees{/sha}","statuses_url":"https://api.github.com/repos/201-created/LG/statuses/{sha}","languages_url":"https://api.github.com/repos/201-created/LG/languages","stargazers_url":"https://api.github.com/repos/201-created/LG/stargazers","contributors_url":"https://api.github.com/repos/201-created/LG/contributors","subscribers_url":"https://api.github.com/repos/201-created/LG/subscribers","subscription_url":"https://api.github.com/repos/201-created/LG/subscription","commits_url":"https://api.github.com/repos/201-created/LG/commits{/sha}","git_commits_url":"https://api.github.com/repos/201-created/LG/git/commits{/sha}","comments_url":"https://api.github.com/repos/201-created/LG/comments{/number}","issue_comment_url":"https://api.github.com/repos/201-created/LG/issues/comments/{number}","contents_url":"https://api.github.com/repos/201-created/LG/contents/{+path}","compare_url":"https://api.github.com/repos/201-created/LG/compare/{base}...{head}","merges_url":"https://api.github.com/repos/201-created/LG/merges","archive_url":"https://api.github.com/repos/201-created/LG/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/201-created/LG/downloads","issues_url":"https://api.github.com/repos/201-created/LG/issues{/number}","pulls_url":"https://api.github.com/repos/201-created/LG/pulls{/number}","milestones_url":"https://api.github.com/repos/201-created/LG/milestones{/number}","notifications_url":"https://api.github.com/repos/201-created/LG/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/201-created/LG/labels{/name}","releases_url":"https://api.github.com/repos/201-created/LG/releases{/id}","created_at":"2015-01-19T18:05:22Z","updated_at":"2015-02-18T18:21:13Z","pushed_at":"2015-02-18T20:01:22Z","git_url":"git://github.com/201-created/LG.git","ssh_url":"git@github.com:201-created/LG.git","clone_url":"https://github.com/201-created/LG.git","svn_url":"https://github.com/201-created/LG","homepage":"","size":644,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"201-created:master","ref":"master","sha":"ab435df29831ecf1fa2a84a407eaaf908ba8c34a","user":{"login":"201-created","id":5312906,"avatar_url":"https://avatars.githubusercontent.com/u/5312906?v=3","gravatar_id":"","url":"https://api.github.com/users/201-created","html_url":"https://github.com/201-created","followers_url":"https://api.github.com/users/201-created/followers","following_url":"https://api.github.com/users/201-created/following{/other_user}","gists_url":"https://api.github.com/users/201-created/gists{/gist_id}","starred_url":"https://api.github.com/users/201-created/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/201-created/subscriptions","organizations_url":"https://api.github.com/users/201-created/orgs","repos_url":"https://api.github.com/users/201-created/repos","events_url":"https://api.github.com/users/201-created/events{/privacy}","received_events_url":"https://api.github.com/users/201-created/received_events","type":"Organization","site_admin":false},"repo":{"id":29484033,"name":"LG","full_name":"201-created/LG","owner":{"login":"201-created","id":5312906,"avatar_url":"https://avatars.githubusercontent.com/u/5312906?v=3","gravatar_id":"","url":"https://api.github.com/users/201-created","html_url":"https://github.com/201-created","followers_url":"https://api.github.com/users/201-created/followers","following_url":"https://api.github.com/users/201-created/following{/other_user}","gists_url":"https://api.github.com/users/201-created/gists{/gist_id}","starred_url":"https://api.github.com/users/201-created/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/201-created/subscriptions","organizations_url":"https://api.github.com/users/201-created/orgs","repos_url":"https://api.github.com/users/201-created/repos","events_url":"https://api.github.com/users/201-created/events{/privacy}","received_events_url":"https://api.github.com/users/201-created/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/201-created/LG","description":"LG Front-End","fork":false,"url":"https://api.github.com/repos/201-created/LG","forks_url":"https://api.github.com/repos/201-created/LG/forks","keys_url":"https://api.github.com/repos/201-created/LG/keys{/key_id}","collaborators_url":"https://api.github.com/repos/201-created/LG/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/201-created/LG/teams","hooks_url":"https://api.github.com/repos/201-created/LG/hooks","issue_events_url":"https://api.github.com/repos/201-created/LG/issues/events{/number}","events_url":"https://api.github.com/repos/201-created/LG/events","assignees_url":"https://api.github.com/repos/201-created/LG/assignees{/user}","branches_url":"https://api.github.com/repos/201-created/LG/branches{/branch}","tags_url":"https://api.github.com/repos/201-created/LG/tags","blobs_url":"https://api.github.com/repos/201-created/LG/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/201-created/LG/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/201-created/LG/git/refs{/sha}","trees_url":"https://api.github.com/repos/201-created/LG/git/trees{/sha}","statuses_url":"https://api.github.com/repos/201-created/LG/statuses/{sha}","languages_url":"https://api.github.com/repos/201-created/LG/languages","stargazers_url":"https://api.github.com/repos/201-created/LG/stargazers","contributors_url":"https://api.github.com/repos/201-created/LG/contributors","subscribers_url":"https://api.github.com/repos/201-created/LG/subscribers","subscription_url":"https://api.github.com/repos/201-created/LG/subscription","commits_url":"https://api.github.com/repos/201-created/LG/commits{/sha}","git_commits_url":"https://api.github.com/repos/201-created/LG/git/commits{/sha}","comments_url":"https://api.github.com/repos/201-created/LG/comments{/number}","issue_comment_url":"https://api.github.com/repos/201-created/LG/issues/comments/{number}","contents_url":"https://api.github.com/repos/201-created/LG/contents/{+path}","compare_url":"https://api.github.com/repos/201-created/LG/compare/{base}...{head}","merges_url":"https://api.github.com/repos/201-created/LG/merges","archive_url":"https://api.github.com/repos/201-created/LG/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/201-created/LG/downloads","issues_url":"https://api.github.com/repos/201-created/LG/issues{/number}","pulls_url":"https://api.github.com/repos/201-created/LG/pulls{/number}","milestones_url":"https://api.github.com/repos/201-created/LG/milestones{/number}","notifications_url":"https://api.github.com/repos/201-created/LG/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/201-created/LG/labels{/name}","releases_url":"https://api.github.com/repos/201-created/LG/releases{/id}","created_at":"2015-01-19T18:05:22Z","updated_at":"2015-02-18T18:21:13Z","pushed_at":"2015-02-18T20:01:22Z","git_url":"git://github.com/201-created/LG.git","ssh_url":"git@github.com:201-created/LG.git","clone_url":"https://github.com/201-created/LG.git","svn_url":"https://github.com/201-created/LG","homepage":"","size":644,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/201-created/LG/pulls/13"},"html":{"href":"https://github.com/201-created/LG/pull/13"},"issue":{"href":"https://api.github.com/repos/201-created/LG/issues/13"},"comments":{"href":"https://api.github.com/repos/201-created/LG/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/201-created/LG/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/201-created/LG/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/201-created/LG/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/201-created/LG/statuses/3fa0385f7ef7c5532c917388baf11ae1ab31fc79"}}}}