{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/pulls/2","id":28353605,"html_url":"https://github.com/inspace-io/INSElectronicProgramGuideLayout/pull/2","diff_url":"https://github.com/inspace-io/INSElectronicProgramGuideLayout/pull/2.diff","patch_url":"https://github.com/inspace-io/INSElectronicProgramGuideLayout/pull/2.patch","issue_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/issues/2","number":2,"state":"open","locked":false,"title":"Fixed starting/ending date","user":{"login":"manumax","id":6240851,"avatar_url":"https://avatars.githubusercontent.com/u/6240851?v=3","gravatar_id":"","url":"https://api.github.com/users/manumax","html_url":"https://github.com/manumax","followers_url":"https://api.github.com/users/manumax/followers","following_url":"https://api.github.com/users/manumax/following{/other_user}","gists_url":"https://api.github.com/users/manumax/gists{/gist_id}","starred_url":"https://api.github.com/users/manumax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manumax/subscriptions","organizations_url":"https://api.github.com/users/manumax/orgs","repos_url":"https://api.github.com/users/manumax/repos","events_url":"https://api.github.com/users/manumax/events{/privacy}","received_events_url":"https://api.github.com/users/manumax/received_events","type":"User","site_admin":false},"body":"Hi,\r\n  this is my very first pull request, so be patient (and let me know if I'm doing something wrong). \r\n\r\n  I'm using your layout and it is very cool. The only downside in my case was that I need to show events in a specific interval of time but I want to show that interval even if there's no event at all (so it would be a completely empty grid). At the moment the starting and ending time to show is calculated from the starting/ending date for each event. In this way what I want to achieve is not possible.\r\n\r\n  My solution is to extend the datasource to have to more optional methods. These methods ask for a fixed starting and ending date. When these two methods are implemented, they override the normal behaviour.\r\n\r\n  I really hope I explained myself well.","created_at":"2015-01-30T11:07:36Z","updated_at":"2015-01-30T11:07:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"90d93af31ec49daa29587c33c1c55ff9fb5c05e5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/pulls/2/commits","review_comments_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/pulls/2/comments","review_comment_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/pulls/comments/{number}","comments_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/issues/2/comments","statuses_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/statuses/b1c725d97e2f3dc76d8f27d6bf044f14b733f661","head":{"label":"manumax:feature/fixed-starting-ending-date","ref":"feature/fixed-starting-ending-date","sha":"b1c725d97e2f3dc76d8f27d6bf044f14b733f661","user":{"login":"manumax","id":6240851,"avatar_url":"https://avatars.githubusercontent.com/u/6240851?v=3","gravatar_id":"","url":"https://api.github.com/users/manumax","html_url":"https://github.com/manumax","followers_url":"https://api.github.com/users/manumax/followers","following_url":"https://api.github.com/users/manumax/following{/other_user}","gists_url":"https://api.github.com/users/manumax/gists{/gist_id}","starred_url":"https://api.github.com/users/manumax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manumax/subscriptions","organizations_url":"https://api.github.com/users/manumax/orgs","repos_url":"https://api.github.com/users/manumax/repos","events_url":"https://api.github.com/users/manumax/events{/privacy}","received_events_url":"https://api.github.com/users/manumax/received_events","type":"User","site_admin":false},"repo":{"id":30067525,"name":"INSElectronicProgramGuideLayout","full_name":"manumax/INSElectronicProgramGuideLayout","owner":{"login":"manumax","id":6240851,"avatar_url":"https://avatars.githubusercontent.com/u/6240851?v=3","gravatar_id":"","url":"https://api.github.com/users/manumax","html_url":"https://github.com/manumax","followers_url":"https://api.github.com/users/manumax/followers","following_url":"https://api.github.com/users/manumax/following{/other_user}","gists_url":"https://api.github.com/users/manumax/gists{/gist_id}","starred_url":"https://api.github.com/users/manumax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manumax/subscriptions","organizations_url":"https://api.github.com/users/manumax/orgs","repos_url":"https://api.github.com/users/manumax/repos","events_url":"https://api.github.com/users/manumax/events{/privacy}","received_events_url":"https://api.github.com/users/manumax/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/manumax/INSElectronicProgramGuideLayout","description":"UICollectionViewLayout for displaying electronic program guide.","fork":true,"url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout","forks_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/forks","keys_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/teams","hooks_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/hooks","issue_events_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/issues/events{/number}","events_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/events","assignees_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/assignees{/user}","branches_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/branches{/branch}","tags_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/tags","blobs_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/git/refs{/sha}","trees_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/statuses/{sha}","languages_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/languages","stargazers_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/stargazers","contributors_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/contributors","subscribers_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/subscribers","subscription_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/subscription","commits_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/commits{/sha}","git_commits_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/git/commits{/sha}","comments_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/comments{/number}","issue_comment_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/issues/comments/{number}","contents_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/contents/{+path}","compare_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/merges","archive_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/downloads","issues_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/issues{/number}","pulls_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/pulls{/number}","milestones_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/milestones{/number}","notifications_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/labels{/name}","releases_url":"https://api.github.com/repos/manumax/INSElectronicProgramGuideLayout/releases{/id}","created_at":"2015-01-30T10:33:57Z","updated_at":"2015-01-30T10:33:58Z","pushed_at":"2015-01-30T10:53:42Z","git_url":"git://github.com/manumax/INSElectronicProgramGuideLayout.git","ssh_url":"git@github.com:manumax/INSElectronicProgramGuideLayout.git","clone_url":"https://github.com/manumax/INSElectronicProgramGuideLayout.git","svn_url":"https://github.com/manumax/INSElectronicProgramGuideLayout","homepage":null,"size":5264,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"inspace-io:master","ref":"master","sha":"958418ab9b0e3b97f7bfe774c4bc1388085b9799","user":{"login":"inspace-io","id":8641158,"avatar_url":"https://avatars.githubusercontent.com/u/8641158?v=3","gravatar_id":"","url":"https://api.github.com/users/inspace-io","html_url":"https://github.com/inspace-io","followers_url":"https://api.github.com/users/inspace-io/followers","following_url":"https://api.github.com/users/inspace-io/following{/other_user}","gists_url":"https://api.github.com/users/inspace-io/gists{/gist_id}","starred_url":"https://api.github.com/users/inspace-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspace-io/subscriptions","organizations_url":"https://api.github.com/users/inspace-io/orgs","repos_url":"https://api.github.com/users/inspace-io/repos","events_url":"https://api.github.com/users/inspace-io/events{/privacy}","received_events_url":"https://api.github.com/users/inspace-io/received_events","type":"Organization","site_admin":false},"repo":{"id":28189531,"name":"INSElectronicProgramGuideLayout","full_name":"inspace-io/INSElectronicProgramGuideLayout","owner":{"login":"inspace-io","id":8641158,"avatar_url":"https://avatars.githubusercontent.com/u/8641158?v=3","gravatar_id":"","url":"https://api.github.com/users/inspace-io","html_url":"https://github.com/inspace-io","followers_url":"https://api.github.com/users/inspace-io/followers","following_url":"https://api.github.com/users/inspace-io/following{/other_user}","gists_url":"https://api.github.com/users/inspace-io/gists{/gist_id}","starred_url":"https://api.github.com/users/inspace-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspace-io/subscriptions","organizations_url":"https://api.github.com/users/inspace-io/orgs","repos_url":"https://api.github.com/users/inspace-io/repos","events_url":"https://api.github.com/users/inspace-io/events{/privacy}","received_events_url":"https://api.github.com/users/inspace-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inspace-io/INSElectronicProgramGuideLayout","description":"UICollectionViewLayout for displaying electronic program guide.","fork":false,"url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout","forks_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/forks","keys_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/teams","hooks_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/hooks","issue_events_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/issues/events{/number}","events_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/events","assignees_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/assignees{/user}","branches_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/branches{/branch}","tags_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/tags","blobs_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/git/refs{/sha}","trees_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/statuses/{sha}","languages_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/languages","stargazers_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/stargazers","contributors_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/contributors","subscribers_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/subscribers","subscription_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/subscription","commits_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/commits{/sha}","git_commits_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/git/commits{/sha}","comments_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/comments{/number}","issue_comment_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/issues/comments/{number}","contents_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/contents/{+path}","compare_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/merges","archive_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/downloads","issues_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/issues{/number}","pulls_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/pulls{/number}","milestones_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/milestones{/number}","notifications_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/labels{/name}","releases_url":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/releases{/id}","created_at":"2014-12-18T15:40:55Z","updated_at":"2015-01-30T10:55:38Z","pushed_at":"2015-01-23T10:05:57Z","git_url":"git://github.com/inspace-io/INSElectronicProgramGuideLayout.git","ssh_url":"git@github.com:inspace-io/INSElectronicProgramGuideLayout.git","clone_url":"https://github.com/inspace-io/INSElectronicProgramGuideLayout.git","svn_url":"https://github.com/inspace-io/INSElectronicProgramGuideLayout","homepage":null,"size":5318,"stargazers_count":240,"watchers_count":240,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":1,"forks":10,"open_issues":1,"watchers":240,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/pulls/2"},"html":{"href":"https://github.com/inspace-io/INSElectronicProgramGuideLayout/pull/2"},"issue":{"href":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/issues/2"},"comments":{"href":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/inspace-io/INSElectronicProgramGuideLayout/statuses/b1c725d97e2f3dc76d8f27d6bf044f14b733f661"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":38,"deletions":20,"changed_files":2}}