{"action":"created","comment":{"url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/comments/89071304","pull_request_review_id":9621309,"id":89071304,"diff_hunk":"@@ -595,18 +510,33 @@ initializeSubscriptionTable = ->\n         },\n         { data: ( row, type, set, meta ) ->\n           if row.plan.id.indexOf('annual') != -1\n-            period = \"Annually\"\n+            period = \"Annual\"\n           else\n-            period = \"Monthly\"\n+            period = \"Month\"\n           return period\n         },\n         { data: ( row, type, set, meta ) ->\n-          if row.cancel_at_period_end == true\n+          if row.cancel_at_period_end is true\n             description = \"No\"\n           else\n             description = \"Yes\"\n           return description\n         },\n+        { data: ( row, type, set, meta ) ->\n+          start = new Date(moment.utc(row.created*1000).format('MM/DD/YYYY, HH:mm:ss'))\n+          if row.cancel_at_period_end is false\n+            if row.plan.id.indexOf('annual') != -1\n+              year = parseInt(start.getMonth())","path":"app/assets/javascripts/subscriptions.js.coffee","position":122,"original_position":122,"commit_id":"a6a70738accad7afc2fcd3e66a62dcc895abec85","original_commit_id":"a6a70738accad7afc2fcd3e66a62dcc895abec85","user":{"login":"azharmalik3","id":6176136,"avatar_url":"https://avatars.githubusercontent.com/u/6176136?v=3","gravatar_id":"","url":"https://api.github.com/users/azharmalik3","html_url":"https://github.com/azharmalik3","followers_url":"https://api.github.com/users/azharmalik3/followers","following_url":"https://api.github.com/users/azharmalik3/following{/other_user}","gists_url":"https://api.github.com/users/azharmalik3/gists{/gist_id}","starred_url":"https://api.github.com/users/azharmalik3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azharmalik3/subscriptions","organizations_url":"https://api.github.com/users/azharmalik3/orgs","repos_url":"https://api.github.com/users/azharmalik3/repos","events_url":"https://api.github.com/users/azharmalik3/events{/privacy}","received_events_url":"https://api.github.com/users/azharmalik3/received_events","type":"User","site_admin":false},"body":"Get year not month `start.getYear()`.","created_at":"2016-11-22T09:20:52Z","updated_at":"2016-11-22T09:20:52Z","html_url":"https://github.com/evercam/evercam-dashboard/pull/1583#discussion_r89071304","pull_request_url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/1583","_links":{"self":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/comments/89071304"},"html":{"href":"https://github.com/evercam/evercam-dashboard/pull/1583#discussion_r89071304"},"pull_request":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/1583"}}},"pull_request":{"url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/1583","id":94772671,"html_url":"https://github.com/evercam/evercam-dashboard/pull/1583","diff_url":"https://github.com/evercam/evercam-dashboard/pull/1583.diff","patch_url":"https://github.com/evercam/evercam-dashboard/pull/1583.patch","issue_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues/1583","number":1583,"state":"open","locked":false,"title":"Implement few changes to new billing interface","user":{"login":"muneeb2542","id":6482077,"avatar_url":"https://avatars.githubusercontent.com/u/6482077?v=3","gravatar_id":"","url":"https://api.github.com/users/muneeb2542","html_url":"https://github.com/muneeb2542","followers_url":"https://api.github.com/users/muneeb2542/followers","following_url":"https://api.github.com/users/muneeb2542/following{/other_user}","gists_url":"https://api.github.com/users/muneeb2542/gists{/gist_id}","starred_url":"https://api.github.com/users/muneeb2542/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muneeb2542/subscriptions","organizations_url":"https://api.github.com/users/muneeb2542/orgs","repos_url":"https://api.github.com/users/muneeb2542/repos","events_url":"https://api.github.com/users/muneeb2542/events{/privacy}","received_events_url":"https://api.github.com/users/muneeb2542/received_events","type":"User","site_admin":false},"body":"@azharmalik3 ","created_at":"2016-11-22T09:05:14Z","updated_at":"2016-11-22T09:20:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"afa49af16708e2f0ebf0784f59c468194a8f76d9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/1583/commits","review_comments_url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/1583/comments","review_comment_url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues/1583/comments","statuses_url":"https://api.github.com/repos/evercam/evercam-dashboard/statuses/a6a70738accad7afc2fcd3e66a62dcc895abec85","head":{"label":"evercam:billing_interface_changes","ref":"billing_interface_changes","sha":"a6a70738accad7afc2fcd3e66a62dcc895abec85","user":{"login":"evercam","id":5575404,"avatar_url":"https://avatars.githubusercontent.com/u/5575404?v=3","gravatar_id":"","url":"https://api.github.com/users/evercam","html_url":"https://github.com/evercam","followers_url":"https://api.github.com/users/evercam/followers","following_url":"https://api.github.com/users/evercam/following{/other_user}","gists_url":"https://api.github.com/users/evercam/gists{/gist_id}","starred_url":"https://api.github.com/users/evercam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evercam/subscriptions","organizations_url":"https://api.github.com/users/evercam/orgs","repos_url":"https://api.github.com/users/evercam/repos","events_url":"https://api.github.com/users/evercam/events{/privacy}","received_events_url":"https://api.github.com/users/evercam/received_events","type":"Organization","site_admin":false},"repo":{"id":17252115,"name":"evercam-dashboard","full_name":"evercam/evercam-dashboard","owner":{"login":"evercam","id":5575404,"avatar_url":"https://avatars.githubusercontent.com/u/5575404?v=3","gravatar_id":"","url":"https://api.github.com/users/evercam","html_url":"https://github.com/evercam","followers_url":"https://api.github.com/users/evercam/followers","following_url":"https://api.github.com/users/evercam/following{/other_user}","gists_url":"https://api.github.com/users/evercam/gists{/gist_id}","starred_url":"https://api.github.com/users/evercam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evercam/subscriptions","organizations_url":"https://api.github.com/users/evercam/orgs","repos_url":"https://api.github.com/users/evercam/repos","events_url":"https://api.github.com/users/evercam/events{/privacy}","received_events_url":"https://api.github.com/users/evercam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/evercam/evercam-dashboard","description":"User Dashboard (Ruby on Rails Application)","fork":false,"url":"https://api.github.com/repos/evercam/evercam-dashboard","forks_url":"https://api.github.com/repos/evercam/evercam-dashboard/forks","keys_url":"https://api.github.com/repos/evercam/evercam-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evercam/evercam-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evercam/evercam-dashboard/teams","hooks_url":"https://api.github.com/repos/evercam/evercam-dashboard/hooks","issue_events_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/evercam/evercam-dashboard/events","assignees_url":"https://api.github.com/repos/evercam/evercam-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/evercam/evercam-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/evercam/evercam-dashboard/tags","blobs_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evercam/evercam-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/evercam/evercam-dashboard/languages","stargazers_url":"https://api.github.com/repos/evercam/evercam-dashboard/stargazers","contributors_url":"https://api.github.com/repos/evercam/evercam-dashboard/contributors","subscribers_url":"https://api.github.com/repos/evercam/evercam-dashboard/subscribers","subscription_url":"https://api.github.com/repos/evercam/evercam-dashboard/subscription","commits_url":"https://api.github.com/repos/evercam/evercam-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/evercam/evercam-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/evercam/evercam-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/evercam/evercam-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evercam/evercam-dashboard/merges","archive_url":"https://api.github.com/repos/evercam/evercam-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evercam/evercam-dashboard/downloads","issues_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/evercam/evercam-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/evercam/evercam-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evercam/evercam-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/evercam/evercam-dashboard/releases{/id}","deployments_url":"https://api.github.com/repos/evercam/evercam-dashboard/deployments","created_at":"2014-02-27T14:46:47Z","updated_at":"2016-11-14T11:47:52Z","pushed_at":"2016-11-22T09:05:14Z","git_url":"git://github.com/evercam/evercam-dashboard.git","ssh_url":"git@github.com:evercam/evercam-dashboard.git","clone_url":"https://github.com/evercam/evercam-dashboard.git","svn_url":"https://github.com/evercam/evercam-dashboard","homepage":"https://dash.evercam.io","size":700383,"stargazers_count":14,"watchers_count":14,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":62,"forks":4,"open_issues":62,"watchers":14,"default_branch":"master"}},"base":{"label":"evercam:master","ref":"master","sha":"833ef0a4416de36bdf507c59b4e80d52b0cf507a","user":{"login":"evercam","id":5575404,"avatar_url":"https://avatars.githubusercontent.com/u/5575404?v=3","gravatar_id":"","url":"https://api.github.com/users/evercam","html_url":"https://github.com/evercam","followers_url":"https://api.github.com/users/evercam/followers","following_url":"https://api.github.com/users/evercam/following{/other_user}","gists_url":"https://api.github.com/users/evercam/gists{/gist_id}","starred_url":"https://api.github.com/users/evercam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evercam/subscriptions","organizations_url":"https://api.github.com/users/evercam/orgs","repos_url":"https://api.github.com/users/evercam/repos","events_url":"https://api.github.com/users/evercam/events{/privacy}","received_events_url":"https://api.github.com/users/evercam/received_events","type":"Organization","site_admin":false},"repo":{"id":17252115,"name":"evercam-dashboard","full_name":"evercam/evercam-dashboard","owner":{"login":"evercam","id":5575404,"avatar_url":"https://avatars.githubusercontent.com/u/5575404?v=3","gravatar_id":"","url":"https://api.github.com/users/evercam","html_url":"https://github.com/evercam","followers_url":"https://api.github.com/users/evercam/followers","following_url":"https://api.github.com/users/evercam/following{/other_user}","gists_url":"https://api.github.com/users/evercam/gists{/gist_id}","starred_url":"https://api.github.com/users/evercam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evercam/subscriptions","organizations_url":"https://api.github.com/users/evercam/orgs","repos_url":"https://api.github.com/users/evercam/repos","events_url":"https://api.github.com/users/evercam/events{/privacy}","received_events_url":"https://api.github.com/users/evercam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/evercam/evercam-dashboard","description":"User Dashboard (Ruby on Rails Application)","fork":false,"url":"https://api.github.com/repos/evercam/evercam-dashboard","forks_url":"https://api.github.com/repos/evercam/evercam-dashboard/forks","keys_url":"https://api.github.com/repos/evercam/evercam-dashboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evercam/evercam-dashboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evercam/evercam-dashboard/teams","hooks_url":"https://api.github.com/repos/evercam/evercam-dashboard/hooks","issue_events_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues/events{/number}","events_url":"https://api.github.com/repos/evercam/evercam-dashboard/events","assignees_url":"https://api.github.com/repos/evercam/evercam-dashboard/assignees{/user}","branches_url":"https://api.github.com/repos/evercam/evercam-dashboard/branches{/branch}","tags_url":"https://api.github.com/repos/evercam/evercam-dashboard/tags","blobs_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evercam/evercam-dashboard/statuses/{sha}","languages_url":"https://api.github.com/repos/evercam/evercam-dashboard/languages","stargazers_url":"https://api.github.com/repos/evercam/evercam-dashboard/stargazers","contributors_url":"https://api.github.com/repos/evercam/evercam-dashboard/contributors","subscribers_url":"https://api.github.com/repos/evercam/evercam-dashboard/subscribers","subscription_url":"https://api.github.com/repos/evercam/evercam-dashboard/subscription","commits_url":"https://api.github.com/repos/evercam/evercam-dashboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/evercam/evercam-dashboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/evercam/evercam-dashboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/evercam/evercam-dashboard/contents/{+path}","compare_url":"https://api.github.com/repos/evercam/evercam-dashboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evercam/evercam-dashboard/merges","archive_url":"https://api.github.com/repos/evercam/evercam-dashboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evercam/evercam-dashboard/downloads","issues_url":"https://api.github.com/repos/evercam/evercam-dashboard/issues{/number}","pulls_url":"https://api.github.com/repos/evercam/evercam-dashboard/pulls{/number}","milestones_url":"https://api.github.com/repos/evercam/evercam-dashboard/milestones{/number}","notifications_url":"https://api.github.com/repos/evercam/evercam-dashboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evercam/evercam-dashboard/labels{/name}","releases_url":"https://api.github.com/repos/evercam/evercam-dashboard/releases{/id}","deployments_url":"https://api.github.com/repos/evercam/evercam-dashboard/deployments","created_at":"2014-02-27T14:46:47Z","updated_at":"2016-11-14T11:47:52Z","pushed_at":"2016-11-22T09:05:14Z","git_url":"git://github.com/evercam/evercam-dashboard.git","ssh_url":"git@github.com:evercam/evercam-dashboard.git","clone_url":"https://github.com/evercam/evercam-dashboard.git","svn_url":"https://github.com/evercam/evercam-dashboard","homepage":"https://dash.evercam.io","size":700383,"stargazers_count":14,"watchers_count":14,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":62,"forks":4,"open_issues":62,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/1583"},"html":{"href":"https://github.com/evercam/evercam-dashboard/pull/1583"},"issue":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/issues/1583"},"comments":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/issues/1583/comments"},"review_comments":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/1583/comments"},"review_comment":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/pulls/1583/commits"},"statuses":{"href":"https://api.github.com/repos/evercam/evercam-dashboard/statuses/a6a70738accad7afc2fcd3e66a62dcc895abec85"}}}}
{"actor":{"display_login":"azharmalik3"}}