{"action":"created","comment":{"url":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/comments/228230531","pull_request_review_id":168455568,"id":228230531,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODIzMDUzMQ==","diff_hunk":"@@ -84,6 +84,15 @@ class DayColumn extends React.Component {\n     this.slotMetrics = this.slotMetrics.update(nextProps)\n   }\n \n+  componentDidUpdate(prevProps) {\n+    if (prevProps.date.getTime() !== this.props.date.getTime()) {","path":"src/DayColumn.js","position":5,"original_position":5,"commit_id":"037349abe98da3294ddf2e5909035f559a1fb913","original_commit_id":"037349abe98da3294ddf2e5909035f559a1fb913","user":{"login":"Georift","id":859430,"node_id":"MDQ6VXNlcjg1OTQzMA==","avatar_url":"https://avatars2.githubusercontent.com/u/859430?v=4","gravatar_id":"","url":"https://api.github.com/users/Georift","html_url":"https://github.com/Georift","followers_url":"https://api.github.com/users/Georift/followers","following_url":"https://api.github.com/users/Georift/following{/other_user}","gists_url":"https://api.github.com/users/Georift/gists{/gist_id}","starred_url":"https://api.github.com/users/Georift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Georift/subscriptions","organizations_url":"https://api.github.com/users/Georift/orgs","repos_url":"https://api.github.com/users/Georift/repos","events_url":"https://api.github.com/users/Georift/events{/privacy}","received_events_url":"https://api.github.com/users/Georift/received_events","type":"User","site_admin":false},"body":"I believe that method comes from the package `date-arithmetic` which `utils\\dates.js` extends.","created_at":"2018-10-25T15:47:40Z","updated_at":"2018-10-25T15:47:40Z","html_url":"https://github.com/intljusticemission/react-big-calendar/pull/1054#discussion_r228230531","pull_request_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/1054","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/comments/228230531"},"html":{"href":"https://github.com/intljusticemission/react-big-calendar/pull/1054#discussion_r228230531"},"pull_request":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/1054"}},"in_reply_to_id":227375238},"pull_request":{"url":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/1054","id":224303253,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MzAzMjUz","html_url":"https://github.com/intljusticemission/react-big-calendar/pull/1054","diff_url":"https://github.com/intljusticemission/react-big-calendar/pull/1054.diff","patch_url":"https://github.com/intljusticemission/react-big-calendar/pull/1054.patch","issue_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/1054","number":1054,"state":"open","locked":false,"title":"Fix misplacement of current time indicator","user":{"login":"jdaberkow","id":13017916,"node_id":"MDQ6VXNlcjEzMDE3OTE2","avatar_url":"https://avatars2.githubusercontent.com/u/13017916?v=4","gravatar_id":"","url":"https://api.github.com/users/jdaberkow","html_url":"https://github.com/jdaberkow","followers_url":"https://api.github.com/users/jdaberkow/followers","following_url":"https://api.github.com/users/jdaberkow/following{/other_user}","gists_url":"https://api.github.com/users/jdaberkow/gists{/gist_id}","starred_url":"https://api.github.com/users/jdaberkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdaberkow/subscriptions","organizations_url":"https://api.github.com/users/jdaberkow/orgs","repos_url":"https://api.github.com/users/jdaberkow/repos","events_url":"https://api.github.com/users/jdaberkow/events{/privacy}","received_events_url":"https://api.github.com/users/jdaberkow/received_events","type":"User","site_admin":false},"body":"After switching the weekly calendar towards the current week, the current time indicator is initially misplaced. By checking whether the date of the component changed in the componentDidUpdate cycle and then calling triggerTimeIndicatorUpdate, this issue can get addressed.","created_at":"2018-10-19T14:19:27Z","updated_at":"2018-10-25T15:47:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d09bb98e61cf8b7a1532e7d9c52144fff51459de","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/1054/commits","review_comments_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/1054/comments","review_comment_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/1054/comments","statuses_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/statuses/037349abe98da3294ddf2e5909035f559a1fb913","head":{"label":"jdaberkow:pr/fix-time-indicator","ref":"pr/fix-time-indicator","sha":"037349abe98da3294ddf2e5909035f559a1fb913","user":{"login":"jdaberkow","id":13017916,"node_id":"MDQ6VXNlcjEzMDE3OTE2","avatar_url":"https://avatars2.githubusercontent.com/u/13017916?v=4","gravatar_id":"","url":"https://api.github.com/users/jdaberkow","html_url":"https://github.com/jdaberkow","followers_url":"https://api.github.com/users/jdaberkow/followers","following_url":"https://api.github.com/users/jdaberkow/following{/other_user}","gists_url":"https://api.github.com/users/jdaberkow/gists{/gist_id}","starred_url":"https://api.github.com/users/jdaberkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdaberkow/subscriptions","organizations_url":"https://api.github.com/users/jdaberkow/orgs","repos_url":"https://api.github.com/users/jdaberkow/repos","events_url":"https://api.github.com/users/jdaberkow/events{/privacy}","received_events_url":"https://api.github.com/users/jdaberkow/received_events","type":"User","site_admin":false},"repo":{"id":151059419,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEwNTk0MTk=","name":"react-big-calendar","full_name":"jdaberkow/react-big-calendar","private":false,"owner":{"login":"jdaberkow","id":13017916,"node_id":"MDQ6VXNlcjEzMDE3OTE2","avatar_url":"https://avatars2.githubusercontent.com/u/13017916?v=4","gravatar_id":"","url":"https://api.github.com/users/jdaberkow","html_url":"https://github.com/jdaberkow","followers_url":"https://api.github.com/users/jdaberkow/followers","following_url":"https://api.github.com/users/jdaberkow/following{/other_user}","gists_url":"https://api.github.com/users/jdaberkow/gists{/gist_id}","starred_url":"https://api.github.com/users/jdaberkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdaberkow/subscriptions","organizations_url":"https://api.github.com/users/jdaberkow/orgs","repos_url":"https://api.github.com/users/jdaberkow/repos","events_url":"https://api.github.com/users/jdaberkow/events{/privacy}","received_events_url":"https://api.github.com/users/jdaberkow/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jdaberkow/react-big-calendar","description":"gcal/outlook like calendar component","fork":true,"url":"https://api.github.com/repos/jdaberkow/react-big-calendar","forks_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/forks","keys_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/teams","hooks_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/hooks","issue_events_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/issues/events{/number}","events_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/events","assignees_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/assignees{/user}","branches_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/branches{/branch}","tags_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/tags","blobs_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/languages","stargazers_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/stargazers","contributors_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/contributors","subscribers_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/subscribers","subscription_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/subscription","commits_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/contents/{+path}","compare_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/merges","archive_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/downloads","issues_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/issues{/number}","pulls_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/labels{/name}","releases_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/releases{/id}","deployments_url":"https://api.github.com/repos/jdaberkow/react-big-calendar/deployments","created_at":"2018-10-01T08:43:32Z","updated_at":"2018-10-25T12:18:00Z","pushed_at":"2018-10-25T12:17:57Z","git_url":"git://github.com/jdaberkow/react-big-calendar.git","ssh_url":"git@github.com:jdaberkow/react-big-calendar.git","clone_url":"https://github.com/jdaberkow/react-big-calendar.git","svn_url":"https://github.com/jdaberkow/react-big-calendar","homepage":"http://intljusticemission.github.io/react-big-calendar/examples/index.html","size":8058,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"intljusticemission:master","ref":"master","sha":"eea7998fcb181053d780d11a2a6ef0d43e981560","user":{"login":"intljusticemission","id":5813881,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU4MTM4ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/5813881?v=4","gravatar_id":"","url":"https://api.github.com/users/intljusticemission","html_url":"https://github.com/intljusticemission","followers_url":"https://api.github.com/users/intljusticemission/followers","following_url":"https://api.github.com/users/intljusticemission/following{/other_user}","gists_url":"https://api.github.com/users/intljusticemission/gists{/gist_id}","starred_url":"https://api.github.com/users/intljusticemission/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intljusticemission/subscriptions","organizations_url":"https://api.github.com/users/intljusticemission/orgs","repos_url":"https://api.github.com/users/intljusticemission/repos","events_url":"https://api.github.com/users/intljusticemission/events{/privacy}","received_events_url":"https://api.github.com/users/intljusticemission/received_events","type":"Organization","site_admin":false},"repo":{"id":41187219,"node_id":"MDEwOlJlcG9zaXRvcnk0MTE4NzIxOQ==","name":"react-big-calendar","full_name":"intljusticemission/react-big-calendar","private":false,"owner":{"login":"intljusticemission","id":5813881,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU4MTM4ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/5813881?v=4","gravatar_id":"","url":"https://api.github.com/users/intljusticemission","html_url":"https://github.com/intljusticemission","followers_url":"https://api.github.com/users/intljusticemission/followers","following_url":"https://api.github.com/users/intljusticemission/following{/other_user}","gists_url":"https://api.github.com/users/intljusticemission/gists{/gist_id}","starred_url":"https://api.github.com/users/intljusticemission/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intljusticemission/subscriptions","organizations_url":"https://api.github.com/users/intljusticemission/orgs","repos_url":"https://api.github.com/users/intljusticemission/repos","events_url":"https://api.github.com/users/intljusticemission/events{/privacy}","received_events_url":"https://api.github.com/users/intljusticemission/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/intljusticemission/react-big-calendar","description":"gcal/outlook like calendar component","fork":false,"url":"https://api.github.com/repos/intljusticemission/react-big-calendar","forks_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/forks","keys_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/teams","hooks_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/hooks","issue_events_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/events{/number}","events_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/events","assignees_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/assignees{/user}","branches_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/branches{/branch}","tags_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/tags","blobs_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/languages","stargazers_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/stargazers","contributors_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/contributors","subscribers_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/subscribers","subscription_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/subscription","commits_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/contents/{+path}","compare_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/merges","archive_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/downloads","issues_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues{/number}","pulls_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/labels{/name}","releases_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/releases{/id}","deployments_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/deployments","created_at":"2015-08-22T02:56:58Z","updated_at":"2018-10-25T13:54:24Z","pushed_at":"2018-10-25T03:07:22Z","git_url":"git://github.com/intljusticemission/react-big-calendar.git","ssh_url":"git@github.com:intljusticemission/react-big-calendar.git","clone_url":"https://github.com/intljusticemission/react-big-calendar.git","svn_url":"https://github.com/intljusticemission/react-big-calendar","homepage":"http://intljusticemission.github.io/react-big-calendar/examples/index.html","size":7733,"stargazers_count":2523,"watchers_count":2523,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":868,"mirror_url":null,"archived":false,"open_issues_count":129,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":868,"open_issues":129,"watchers":2523,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/1054"},"html":{"href":"https://github.com/intljusticemission/react-big-calendar/pull/1054"},"issue":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/1054"},"comments":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/1054/comments"},"review_comments":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/1054/comments"},"review_comment":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/pulls/1054/commits"},"statuses":{"href":"https://api.github.com/repos/intljusticemission/react-big-calendar/statuses/037349abe98da3294ddf2e5909035f559a1fb913"}},"author_association":"NONE"}}
{"actor":{"display_login":"Georift"}}