{"action":"created","comment":{"url":"https://api.github.com/repos/activenetwork/actv/pulls/comments/45946477","id":45946477,"diff_hunk":"@@ -84,16 +84,32 @@ def format_date_in_utc date\n   end\n \n   describe '#registration_open_date' do\n-    before { subject.stub(:sales_start_date).and_return format_date 1.day.from_now }\n-    it \"returns the correct date in the correct timezone\" do\n-      subject.registration_open_date.should be_within(1.second).of Time.parse format_date_in_utc 1.day.from_now\n+    before { subject.stub(:sales_start_date).and_return \"2016-11-10T00:00:00\" }","path":"spec/actv/event_spec.rb","position":7,"original_position":7,"commit_id":"44b5a8c4b34f4401dd337905e33bd6f54a530043","original_commit_id":"44b5a8c4b34f4401dd337905e33bd6f54a530043","user":{"login":"RogerTongTong","id":10805477,"avatar_url":"https://avatars.githubusercontent.com/u/10805477?v=3","gravatar_id":"","url":"https://api.github.com/users/RogerTongTong","html_url":"https://github.com/RogerTongTong","followers_url":"https://api.github.com/users/RogerTongTong/followers","following_url":"https://api.github.com/users/RogerTongTong/following{/other_user}","gists_url":"https://api.github.com/users/RogerTongTong/gists{/gist_id}","starred_url":"https://api.github.com/users/RogerTongTong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RogerTongTong/subscriptions","organizations_url":"https://api.github.com/users/RogerTongTong/orgs","repos_url":"https://api.github.com/users/RogerTongTong/repos","events_url":"https://api.github.com/users/RogerTongTong/events{/privacy}","received_events_url":"https://api.github.com/users/RogerTongTong/received_events","type":"User","site_admin":false},"body":"Single quotes should be used here.\r\nSame comment applied to the lines bellow.","created_at":"2015-11-26T06:02:47Z","updated_at":"2015-11-26T06:02:47Z","html_url":"https://github.com/activenetwork/actv/pull/43#discussion_r45946477","pull_request_url":"https://api.github.com/repos/activenetwork/actv/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/activenetwork/actv/pulls/comments/45946477"},"html":{"href":"https://github.com/activenetwork/actv/pull/43#discussion_r45946477"},"pull_request":{"href":"https://api.github.com/repos/activenetwork/actv/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/activenetwork/actv/pulls/43","id":51630337,"html_url":"https://github.com/activenetwork/actv/pull/43","diff_url":"https://github.com/activenetwork/actv/pull/43.diff","patch_url":"https://github.com/activenetwork/actv/pull/43.patch","issue_url":"https://api.github.com/repos/activenetwork/actv/issues/43","number":43,"state":"open","locked":false,"title":"Activecom 1021 p1 ccm activecom listing incorrect","user":{"login":"marvin-min","id":767117,"avatar_url":"https://avatars.githubusercontent.com/u/767117?v=3","gravatar_id":"","url":"https://api.github.com/users/marvin-min","html_url":"https://github.com/marvin-min","followers_url":"https://api.github.com/users/marvin-min/followers","following_url":"https://api.github.com/users/marvin-min/following{/other_user}","gists_url":"https://api.github.com/users/marvin-min/gists{/gist_id}","starred_url":"https://api.github.com/users/marvin-min/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvin-min/subscriptions","organizations_url":"https://api.github.com/users/marvin-min/orgs","repos_url":"https://api.github.com/users/marvin-min/repos","events_url":"https://api.github.com/users/marvin-min/events{/privacy}","received_events_url":"https://api.github.com/users/marvin-min/received_events","type":"User","site_admin":false},"body":"#### JIRA\r\nhttps://jirafnd.dev.activenetwork.com/browse/ACTIVECOM-1021\r\n\r\n#### Description\r\nAgency Name: Mitch Korn's Specialized Hockey Camps Inc.\r\nCCM Database URL: https://camps.active.com/MitchKornsSpecializedHockeyCampsInc\r\nProblem/Error message: Active.com search result is showing incorrect registration open time. Showing 3am. Should be 8am.\r\nSteps to replicate:\r\n1. www.Active.com > http://www.active.com/estero-fl/camps/mitch-korn-s-specialized-hockey-camps-inc-2016\r\nVisual: Screenshots attached\r\nImpact: The client is reporting the map is to his home and wants removed immediately.\r\nTroubleshooting/Notes: No troubleshooting done\r\n\r\n#### Solution\r\n\r\nif the source system is `regcenter` or `camps` will parse the `sales_start_date` and `sales_end_date` with timezone rather than convert the timezone to 'utc'\r\n\r\n#### TestLink\r\nhttp://a3coreint10.dev.activenetwork.com/estero-fl/camps/mitch-korn-s-specialized-hockey-camps-inc-2016\r\n\r\n**Note**\r\nNo code need changes by A3 side. However, we need to bump the version of `actv` in A3 Gemfile once the PR be merged to master.\r\nHere is the branch for test on A3 side: https://github.com/activenetwork/a3/compare/ACTIVECOM-1021-P1-CCM-ACTIVECOM-Listing-incorrect","created_at":"2015-11-24T08:39:26Z","updated_at":"2015-11-26T06:02:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"196fa0883796e2d2f29343b728cf813912225193","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/activenetwork/actv/pulls/43/commits","review_comments_url":"https://api.github.com/repos/activenetwork/actv/pulls/43/comments","review_comment_url":"https://api.github.com/repos/activenetwork/actv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/activenetwork/actv/issues/43/comments","statuses_url":"https://api.github.com/repos/activenetwork/actv/statuses/44b5a8c4b34f4401dd337905e33bd6f54a530043","head":{"label":"activenetwork:ACTIVECOM-1021-P1-CCM-ACTIVECOM-Listing-incorrect","ref":"ACTIVECOM-1021-P1-CCM-ACTIVECOM-Listing-incorrect","sha":"44b5a8c4b34f4401dd337905e33bd6f54a530043","user":{"login":"activenetwork","id":148571,"avatar_url":"https://avatars.githubusercontent.com/u/148571?v=3","gravatar_id":"","url":"https://api.github.com/users/activenetwork","html_url":"https://github.com/activenetwork","followers_url":"https://api.github.com/users/activenetwork/followers","following_url":"https://api.github.com/users/activenetwork/following{/other_user}","gists_url":"https://api.github.com/users/activenetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/activenetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activenetwork/subscriptions","organizations_url":"https://api.github.com/users/activenetwork/orgs","repos_url":"https://api.github.com/users/activenetwork/repos","events_url":"https://api.github.com/users/activenetwork/events{/privacy}","received_events_url":"https://api.github.com/users/activenetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":12438386,"name":"actv","full_name":"activenetwork/actv","owner":{"login":"activenetwork","id":148571,"avatar_url":"https://avatars.githubusercontent.com/u/148571?v=3","gravatar_id":"","url":"https://api.github.com/users/activenetwork","html_url":"https://github.com/activenetwork","followers_url":"https://api.github.com/users/activenetwork/followers","following_url":"https://api.github.com/users/activenetwork/following{/other_user}","gists_url":"https://api.github.com/users/activenetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/activenetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activenetwork/subscriptions","organizations_url":"https://api.github.com/users/activenetwork/orgs","repos_url":"https://api.github.com/users/activenetwork/repos","events_url":"https://api.github.com/users/activenetwork/events{/privacy}","received_events_url":"https://api.github.com/users/activenetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/activenetwork/actv","description":"Library for Using Active.com's v2 search API","fork":false,"url":"https://api.github.com/repos/activenetwork/actv","forks_url":"https://api.github.com/repos/activenetwork/actv/forks","keys_url":"https://api.github.com/repos/activenetwork/actv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/activenetwork/actv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/activenetwork/actv/teams","hooks_url":"https://api.github.com/repos/activenetwork/actv/hooks","issue_events_url":"https://api.github.com/repos/activenetwork/actv/issues/events{/number}","events_url":"https://api.github.com/repos/activenetwork/actv/events","assignees_url":"https://api.github.com/repos/activenetwork/actv/assignees{/user}","branches_url":"https://api.github.com/repos/activenetwork/actv/branches{/branch}","tags_url":"https://api.github.com/repos/activenetwork/actv/tags","blobs_url":"https://api.github.com/repos/activenetwork/actv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/activenetwork/actv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/activenetwork/actv/git/refs{/sha}","trees_url":"https://api.github.com/repos/activenetwork/actv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/activenetwork/actv/statuses/{sha}","languages_url":"https://api.github.com/repos/activenetwork/actv/languages","stargazers_url":"https://api.github.com/repos/activenetwork/actv/stargazers","contributors_url":"https://api.github.com/repos/activenetwork/actv/contributors","subscribers_url":"https://api.github.com/repos/activenetwork/actv/subscribers","subscription_url":"https://api.github.com/repos/activenetwork/actv/subscription","commits_url":"https://api.github.com/repos/activenetwork/actv/commits{/sha}","git_commits_url":"https://api.github.com/repos/activenetwork/actv/git/commits{/sha}","comments_url":"https://api.github.com/repos/activenetwork/actv/comments{/number}","issue_comment_url":"https://api.github.com/repos/activenetwork/actv/issues/comments{/number}","contents_url":"https://api.github.com/repos/activenetwork/actv/contents/{+path}","compare_url":"https://api.github.com/repos/activenetwork/actv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/activenetwork/actv/merges","archive_url":"https://api.github.com/repos/activenetwork/actv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/activenetwork/actv/downloads","issues_url":"https://api.github.com/repos/activenetwork/actv/issues{/number}","pulls_url":"https://api.github.com/repos/activenetwork/actv/pulls{/number}","milestones_url":"https://api.github.com/repos/activenetwork/actv/milestones{/number}","notifications_url":"https://api.github.com/repos/activenetwork/actv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/activenetwork/actv/labels{/name}","releases_url":"https://api.github.com/repos/activenetwork/actv/releases{/id}","created_at":"2013-08-28T16:08:17Z","updated_at":"2015-05-08T01:56:56Z","pushed_at":"2015-11-24T08:39:26Z","git_url":"git://github.com/activenetwork/actv.git","ssh_url":"git@github.com:activenetwork/actv.git","clone_url":"https://github.com/activenetwork/actv.git","svn_url":"https://github.com/activenetwork/actv","homepage":null,"size":496,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"activenetwork:master","ref":"master","sha":"6b2fc50229f3e35698fac4eaf86a774a7bbac2de","user":{"login":"activenetwork","id":148571,"avatar_url":"https://avatars.githubusercontent.com/u/148571?v=3","gravatar_id":"","url":"https://api.github.com/users/activenetwork","html_url":"https://github.com/activenetwork","followers_url":"https://api.github.com/users/activenetwork/followers","following_url":"https://api.github.com/users/activenetwork/following{/other_user}","gists_url":"https://api.github.com/users/activenetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/activenetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activenetwork/subscriptions","organizations_url":"https://api.github.com/users/activenetwork/orgs","repos_url":"https://api.github.com/users/activenetwork/repos","events_url":"https://api.github.com/users/activenetwork/events{/privacy}","received_events_url":"https://api.github.com/users/activenetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":12438386,"name":"actv","full_name":"activenetwork/actv","owner":{"login":"activenetwork","id":148571,"avatar_url":"https://avatars.githubusercontent.com/u/148571?v=3","gravatar_id":"","url":"https://api.github.com/users/activenetwork","html_url":"https://github.com/activenetwork","followers_url":"https://api.github.com/users/activenetwork/followers","following_url":"https://api.github.com/users/activenetwork/following{/other_user}","gists_url":"https://api.github.com/users/activenetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/activenetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activenetwork/subscriptions","organizations_url":"https://api.github.com/users/activenetwork/orgs","repos_url":"https://api.github.com/users/activenetwork/repos","events_url":"https://api.github.com/users/activenetwork/events{/privacy}","received_events_url":"https://api.github.com/users/activenetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/activenetwork/actv","description":"Library for Using Active.com's v2 search API","fork":false,"url":"https://api.github.com/repos/activenetwork/actv","forks_url":"https://api.github.com/repos/activenetwork/actv/forks","keys_url":"https://api.github.com/repos/activenetwork/actv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/activenetwork/actv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/activenetwork/actv/teams","hooks_url":"https://api.github.com/repos/activenetwork/actv/hooks","issue_events_url":"https://api.github.com/repos/activenetwork/actv/issues/events{/number}","events_url":"https://api.github.com/repos/activenetwork/actv/events","assignees_url":"https://api.github.com/repos/activenetwork/actv/assignees{/user}","branches_url":"https://api.github.com/repos/activenetwork/actv/branches{/branch}","tags_url":"https://api.github.com/repos/activenetwork/actv/tags","blobs_url":"https://api.github.com/repos/activenetwork/actv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/activenetwork/actv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/activenetwork/actv/git/refs{/sha}","trees_url":"https://api.github.com/repos/activenetwork/actv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/activenetwork/actv/statuses/{sha}","languages_url":"https://api.github.com/repos/activenetwork/actv/languages","stargazers_url":"https://api.github.com/repos/activenetwork/actv/stargazers","contributors_url":"https://api.github.com/repos/activenetwork/actv/contributors","subscribers_url":"https://api.github.com/repos/activenetwork/actv/subscribers","subscription_url":"https://api.github.com/repos/activenetwork/actv/subscription","commits_url":"https://api.github.com/repos/activenetwork/actv/commits{/sha}","git_commits_url":"https://api.github.com/repos/activenetwork/actv/git/commits{/sha}","comments_url":"https://api.github.com/repos/activenetwork/actv/comments{/number}","issue_comment_url":"https://api.github.com/repos/activenetwork/actv/issues/comments{/number}","contents_url":"https://api.github.com/repos/activenetwork/actv/contents/{+path}","compare_url":"https://api.github.com/repos/activenetwork/actv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/activenetwork/actv/merges","archive_url":"https://api.github.com/repos/activenetwork/actv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/activenetwork/actv/downloads","issues_url":"https://api.github.com/repos/activenetwork/actv/issues{/number}","pulls_url":"https://api.github.com/repos/activenetwork/actv/pulls{/number}","milestones_url":"https://api.github.com/repos/activenetwork/actv/milestones{/number}","notifications_url":"https://api.github.com/repos/activenetwork/actv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/activenetwork/actv/labels{/name}","releases_url":"https://api.github.com/repos/activenetwork/actv/releases{/id}","created_at":"2013-08-28T16:08:17Z","updated_at":"2015-05-08T01:56:56Z","pushed_at":"2015-11-24T08:39:26Z","git_url":"git://github.com/activenetwork/actv.git","ssh_url":"git@github.com:activenetwork/actv.git","clone_url":"https://github.com/activenetwork/actv.git","svn_url":"https://github.com/activenetwork/actv","homepage":null,"size":496,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/activenetwork/actv/pulls/43"},"html":{"href":"https://github.com/activenetwork/actv/pull/43"},"issue":{"href":"https://api.github.com/repos/activenetwork/actv/issues/43"},"comments":{"href":"https://api.github.com/repos/activenetwork/actv/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/activenetwork/actv/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/activenetwork/actv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/activenetwork/actv/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/activenetwork/actv/statuses/44b5a8c4b34f4401dd337905e33bd6f54a530043"}}}}