{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/dashboard/pulls/comments/48729035","id":48729035,"diff_hunk":"@@ -62,8 +62,8 @@\n         </div>\n \n         <div flex=\"40\" layout=\"column\" class=\"kd-replicaset-card-section\">\n-          <span flex=\"initial\">Creation time</span>\n-          <span flex>{{::ctrl.replicaSet.creationTime}}</span>\n+          <span flex=\"initial\">Age</span>\n+          <span flex>{{::ctrl.replicaSet.creationTime | relativeTime}}</span>","path":"src/app/frontend/replicasetlist/replicasetcard.html","position":7,"original_position":7,"commit_id":"7bf195eb0c4a68981a97465cfafe4ff4608a3f1c","original_commit_id":"7bf195eb0c4a68981a97465cfafe4ff4608a3f1c","user":{"login":"bryk","id":1159999,"avatar_url":"https://avatars.githubusercontent.com/u/1159999?v=3","gravatar_id":"","url":"https://api.github.com/users/bryk","html_url":"https://github.com/bryk","followers_url":"https://api.github.com/users/bryk/followers","following_url":"https://api.github.com/users/bryk/following{/other_user}","gists_url":"https://api.github.com/users/bryk/gists{/gist_id}","starred_url":"https://api.github.com/users/bryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryk/subscriptions","organizations_url":"https://api.github.com/users/bryk/orgs","repos_url":"https://api.github.com/users/bryk/repos","events_url":"https://api.github.com/users/bryk/events{/privacy}","received_events_url":"https://api.github.com/users/bryk/received_events","type":"User","site_admin":false},"body":"Can you provide original value on hover? Either as alt, title or md-tooltip. ","created_at":"2016-01-04T13:13:26Z","updated_at":"2016-01-04T13:13:26Z","html_url":"https://github.com/kubernetes/dashboard/pull/215#discussion_r48729035","pull_request_url":"https://api.github.com/repos/kubernetes/dashboard/pulls/215","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/dashboard/pulls/comments/48729035"},"html":{"href":"https://github.com/kubernetes/dashboard/pull/215#discussion_r48729035"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/dashboard/pulls/215"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/dashboard/pulls/215","id":54964117,"html_url":"https://github.com/kubernetes/dashboard/pull/215","diff_url":"https://github.com/kubernetes/dashboard/pull/215.diff","patch_url":"https://github.com/kubernetes/dashboard/pull/215.patch","issue_url":"https://api.github.com/repos/kubernetes/dashboard/issues/215","number":215,"state":"open","locked":false,"title":"Relative time filter","user":{"login":"maciaszczykm","id":2823399,"avatar_url":"https://avatars.githubusercontent.com/u/2823399?v=3","gravatar_id":"","url":"https://api.github.com/users/maciaszczykm","html_url":"https://github.com/maciaszczykm","followers_url":"https://api.github.com/users/maciaszczykm/followers","following_url":"https://api.github.com/users/maciaszczykm/following{/other_user}","gists_url":"https://api.github.com/users/maciaszczykm/gists{/gist_id}","starred_url":"https://api.github.com/users/maciaszczykm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciaszczykm/subscriptions","organizations_url":"https://api.github.com/users/maciaszczykm/orgs","repos_url":"https://api.github.com/users/maciaszczykm/repos","events_url":"https://api.github.com/users/maciaszczykm/events{/privacy}","received_events_url":"https://api.github.com/users/maciaszczykm/received_events","type":"User","site_admin":false},"body":"Connected to issue #191.\r\n\r\nI've implemented relative time filter which can be used in multiple views. At this point I've added it to replica set details and replica set list. Filter transforms date to relative date string, which can be seen on mocks. Added tests covering all important date units.\r\n\r\nThere is still one thing to do, but to keep this pull request small I think it will be better to move it to another pull request. The issue is, that at the moment filter uses client side current time and it's invalid in many cases. Date should be taken from server in all cases, that I know. **Please let me know if you have any suggestions how we should solve it**.\r\n\r\n@floreks @bryk Can you review?","created_at":"2016-01-04T11:06:33Z","updated_at":"2016-01-04T13:13:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b04f47fa2fd0cf3a7ab2b03bb02c9791d1fd6e86","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/dashboard/pulls/215/commits","review_comments_url":"https://api.github.com/repos/kubernetes/dashboard/pulls/215/comments","review_comment_url":"https://api.github.com/repos/kubernetes/dashboard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/dashboard/issues/215/comments","statuses_url":"https://api.github.com/repos/kubernetes/dashboard/statuses/7bf195eb0c4a68981a97465cfafe4ff4608a3f1c","head":{"label":"maciaszczykm:timeago-filter","ref":"timeago-filter","sha":"7bf195eb0c4a68981a97465cfafe4ff4608a3f1c","user":{"login":"maciaszczykm","id":2823399,"avatar_url":"https://avatars.githubusercontent.com/u/2823399?v=3","gravatar_id":"","url":"https://api.github.com/users/maciaszczykm","html_url":"https://github.com/maciaszczykm","followers_url":"https://api.github.com/users/maciaszczykm/followers","following_url":"https://api.github.com/users/maciaszczykm/following{/other_user}","gists_url":"https://api.github.com/users/maciaszczykm/gists{/gist_id}","starred_url":"https://api.github.com/users/maciaszczykm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciaszczykm/subscriptions","organizations_url":"https://api.github.com/users/maciaszczykm/orgs","repos_url":"https://api.github.com/users/maciaszczykm/repos","events_url":"https://api.github.com/users/maciaszczykm/events{/privacy}","received_events_url":"https://api.github.com/users/maciaszczykm/received_events","type":"User","site_admin":false},"repo":{"id":45401188,"name":"dashboard","full_name":"maciaszczykm/dashboard","owner":{"login":"maciaszczykm","id":2823399,"avatar_url":"https://avatars.githubusercontent.com/u/2823399?v=3","gravatar_id":"","url":"https://api.github.com/users/maciaszczykm","html_url":"https://github.com/maciaszczykm","followers_url":"https://api.github.com/users/maciaszczykm/followers","following_url":"https://api.github.com/users/maciaszczykm/following{/other_user}","gists_url":"https://api.github.com/users/maciaszczykm/gists{/gist_id}","starred_url":"https://api.github.com/users/maciaszczykm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciaszczykm/subscriptions","organizations_url":"https://api.github.com/users/maciaszczykm/orgs","repos_url":"https://api.github.com/users/maciaszczykm/repos","events_url":"https://api.github.com/users/maciaszczykm/events{/privacy}","received_events_url":"https://api.github.com/users/maciaszczykm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maciaszczykm/dashboard","description":"Fork of Kubernetes Dashboard from Google","fork":true,"url":"https://api.github.com/repos/maciaszczykm/dashboard","forks_url":"https://api.github.com/repos/maciaszczykm/dashboard/forks","keys_url":"https://api.github.com/repos/maciaszczykm/dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maciaszczykm/dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maciaszczykm/dashboard/teams","hooks_url":"https://api.github.com/repos/maciaszczykm/dashboard/hooks","issue_events_url":"https://api.github.com/repos/maciaszczykm/dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/maciaszczykm/dashboard/events","assignees_url":"https://api.github.com/repos/maciaszczykm/dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/maciaszczykm/dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/maciaszczykm/dashboard/tags","blobs_url":"https://api.github.com/repos/maciaszczykm/dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maciaszczykm/dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maciaszczykm/dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/maciaszczykm/dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maciaszczykm/dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/maciaszczykm/dashboard/languages","stargazers_url":"https://api.github.com/repos/maciaszczykm/dashboard/stargazers","contributors_url":"https://api.github.com/repos/maciaszczykm/dashboard/contributors","subscribers_url":"https://api.github.com/repos/maciaszczykm/dashboard/subscribers","subscription_url":"https://api.github.com/repos/maciaszczykm/dashboard/subscription","commits_url":"https://api.github.com/repos/maciaszczykm/dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/maciaszczykm/dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/maciaszczykm/dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/maciaszczykm/dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/maciaszczykm/dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/maciaszczykm/dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maciaszczykm/dashboard/merges","archive_url":"https://api.github.com/repos/maciaszczykm/dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maciaszczykm/dashboard/downloads","issues_url":"https://api.github.com/repos/maciaszczykm/dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/maciaszczykm/dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/maciaszczykm/dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/maciaszczykm/dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maciaszczykm/dashboard/labels{/name}","releases_url":"https://api.github.com/repos/maciaszczykm/dashboard/releases{/id}","created_at":"2015-11-02T14:57:50Z","updated_at":"2015-11-02T15:04:08Z","pushed_at":"2016-01-04T12:23:28Z","git_url":"git://github.com/maciaszczykm/dashboard.git","ssh_url":"git@github.com:maciaszczykm/dashboard.git","clone_url":"https://github.com/maciaszczykm/dashboard.git","svn_url":"https://github.com/maciaszczykm/dashboard","homepage":"http://kubernetes.io/","size":5987,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"abedd785106c906ae65d2134774babec48b3ed59","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":44350607,"name":"dashboard","full_name":"kubernetes/dashboard","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/dashboard","description":"","fork":false,"url":"https://api.github.com/repos/kubernetes/dashboard","forks_url":"https://api.github.com/repos/kubernetes/dashboard/forks","keys_url":"https://api.github.com/repos/kubernetes/dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/dashboard/teams","hooks_url":"https://api.github.com/repos/kubernetes/dashboard/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/dashboard/events","assignees_url":"https://api.github.com/repos/kubernetes/dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/dashboard/tags","blobs_url":"https://api.github.com/repos/kubernetes/dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/dashboard/languages","stargazers_url":"https://api.github.com/repos/kubernetes/dashboard/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/dashboard/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/dashboard/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/dashboard/subscription","commits_url":"https://api.github.com/repos/kubernetes/dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/dashboard/merges","archive_url":"https://api.github.com/repos/kubernetes/dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/dashboard/downloads","issues_url":"https://api.github.com/repos/kubernetes/dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/dashboard/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/dashboard/releases{/id}","created_at":"2015-10-15T23:09:14Z","updated_at":"2015-12-31T12:23:45Z","pushed_at":"2016-01-04T12:23:29Z","git_url":"git://github.com/kubernetes/dashboard.git","ssh_url":"git@github.com:kubernetes/dashboard.git","clone_url":"https://github.com/kubernetes/dashboard.git","svn_url":"https://github.com/kubernetes/dashboard","homepage":"","size":5992,"stargazers_count":73,"watchers_count":73,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":28,"forks":24,"open_issues":28,"watchers":73,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/dashboard/pulls/215"},"html":{"href":"https://github.com/kubernetes/dashboard/pull/215"},"issue":{"href":"https://api.github.com/repos/kubernetes/dashboard/issues/215"},"comments":{"href":"https://api.github.com/repos/kubernetes/dashboard/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/dashboard/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/dashboard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/dashboard/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/dashboard/statuses/7bf195eb0c4a68981a97465cfafe4ff4608a3f1c"}}}}