{"action":"closed","number":23,"pull_request":{"url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/23","id":52838328,"html_url":"https://github.com/socib/Leaflet.TimeDimension/pull/23","diff_url":"https://github.com/socib/Leaflet.TimeDimension/pull/23.diff","patch_url":"https://github.com/socib/Leaflet.TimeDimension/pull/23.patch","issue_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues/23","number":23,"state":"closed","locked":false,"title":"Fixes to parseTimesExpression and getLayerForTime functions","user":{"login":"filfreire","id":11976836,"avatar_url":"https://avatars.githubusercontent.com/u/11976836?v=3","gravatar_id":"","url":"https://api.github.com/users/filfreire","html_url":"https://github.com/filfreire","followers_url":"https://api.github.com/users/filfreire/followers","following_url":"https://api.github.com/users/filfreire/following{/other_user}","gists_url":"https://api.github.com/users/filfreire/gists{/gist_id}","starred_url":"https://api.github.com/users/filfreire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filfreire/subscriptions","organizations_url":"https://api.github.com/users/filfreire/orgs","repos_url":"https://api.github.com/users/filfreire/repos","events_url":"https://api.github.com/users/filfreire/events{/privacy}","received_events_url":"https://api.github.com/users/filfreire/received_events","type":"User","site_admin":false},"body":"Small fix to _getLayerForTime function: wasn't checking for null value.\r\nFix for parseTimesExpression function:\r\n-Behaviour: If the \"times\" variable had multiple intervals defined, like this:\r\n\"2015-10-01T00:00:00.000Z/2015-11-09T00:00:00.000Z/PT6H,2015-12-02T00:00:00.000Z/2015-12-11T00:00:00.000Z/PT6H\"\r\ninstead of just one:\r\n\"2015-10-01T00:00:00.000Z/2015-11-09T00:00:00.000Z/PT6H\"\r\nThe timedimension wouldn't be properly parsed and loaded.\r\nNow it loads the different time intervals; If it's just dates defined on times variable, they will still be parsed and added.\r\n\r\nI think I correctly edited out the commits I made 14/15 days ago. They are not related to this pull request.","created_at":"2015-12-07T12:24:56Z","updated_at":"2015-12-10T16:19:50Z","closed_at":"2015-12-10T16:19:50Z","merged_at":null,"merge_commit_sha":"67c5ad73012b1d15001abbd1d444ec2d4909660e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/23/commits","review_comments_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/23/comments","review_comment_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/comments{/number}","comments_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues/23/comments","statuses_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/statuses/1635773962b4ef2479e64a57ed1a777c573a08e8","head":{"label":"filfreire:master","ref":"master","sha":"1635773962b4ef2479e64a57ed1a777c573a08e8","user":{"login":"filfreire","id":11976836,"avatar_url":"https://avatars.githubusercontent.com/u/11976836?v=3","gravatar_id":"","url":"https://api.github.com/users/filfreire","html_url":"https://github.com/filfreire","followers_url":"https://api.github.com/users/filfreire/followers","following_url":"https://api.github.com/users/filfreire/following{/other_user}","gists_url":"https://api.github.com/users/filfreire/gists{/gist_id}","starred_url":"https://api.github.com/users/filfreire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filfreire/subscriptions","organizations_url":"https://api.github.com/users/filfreire/orgs","repos_url":"https://api.github.com/users/filfreire/repos","events_url":"https://api.github.com/users/filfreire/events{/privacy}","received_events_url":"https://api.github.com/users/filfreire/received_events","type":"User","site_admin":false},"repo":{"id":46717341,"name":"Leaflet.TimeDimension","full_name":"filfreire/Leaflet.TimeDimension","owner":{"login":"filfreire","id":11976836,"avatar_url":"https://avatars.githubusercontent.com/u/11976836?v=3","gravatar_id":"","url":"https://api.github.com/users/filfreire","html_url":"https://github.com/filfreire","followers_url":"https://api.github.com/users/filfreire/followers","following_url":"https://api.github.com/users/filfreire/following{/other_user}","gists_url":"https://api.github.com/users/filfreire/gists{/gist_id}","starred_url":"https://api.github.com/users/filfreire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filfreire/subscriptions","organizations_url":"https://api.github.com/users/filfreire/orgs","repos_url":"https://api.github.com/users/filfreire/repos","events_url":"https://api.github.com/users/filfreire/events{/privacy}","received_events_url":"https://api.github.com/users/filfreire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/filfreire/Leaflet.TimeDimension","description":"Add time dimension capabilities on a Leaflet map. ","fork":true,"url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension","forks_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/forks","keys_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/teams","hooks_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/hooks","issue_events_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/issues/events{/number}","events_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/events","assignees_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/assignees{/user}","branches_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/branches{/branch}","tags_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/tags","blobs_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/git/refs{/sha}","trees_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/statuses/{sha}","languages_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/languages","stargazers_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/stargazers","contributors_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/contributors","subscribers_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/subscribers","subscription_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/subscription","commits_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/commits{/sha}","git_commits_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/git/commits{/sha}","comments_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/comments{/number}","issue_comment_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/issues/comments{/number}","contents_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/contents/{+path}","compare_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/merges","archive_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/downloads","issues_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/issues{/number}","pulls_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/pulls{/number}","milestones_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/milestones{/number}","notifications_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/labels{/name}","releases_url":"https://api.github.com/repos/filfreire/Leaflet.TimeDimension/releases{/id}","created_at":"2015-11-23T11:56:45Z","updated_at":"2015-11-24T12:05:27Z","pushed_at":"2015-12-07T12:17:04Z","git_url":"git://github.com/filfreire/Leaflet.TimeDimension.git","ssh_url":"git@github.com:filfreire/Leaflet.TimeDimension.git","clone_url":"https://github.com/filfreire/Leaflet.TimeDimension.git","svn_url":"https://github.com/filfreire/Leaflet.TimeDimension","homepage":null,"size":1618,"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":"socib:master","ref":"master","sha":"b67d2e671ccb02819e13930f79f61983e04071e7","user":{"login":"socib","id":1684812,"avatar_url":"https://avatars.githubusercontent.com/u/1684812?v=3","gravatar_id":"","url":"https://api.github.com/users/socib","html_url":"https://github.com/socib","followers_url":"https://api.github.com/users/socib/followers","following_url":"https://api.github.com/users/socib/following{/other_user}","gists_url":"https://api.github.com/users/socib/gists{/gist_id}","starred_url":"https://api.github.com/users/socib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socib/subscriptions","organizations_url":"https://api.github.com/users/socib/orgs","repos_url":"https://api.github.com/users/socib/repos","events_url":"https://api.github.com/users/socib/events{/privacy}","received_events_url":"https://api.github.com/users/socib/received_events","type":"Organization","site_admin":false},"repo":{"id":28227752,"name":"Leaflet.TimeDimension","full_name":"socib/Leaflet.TimeDimension","owner":{"login":"socib","id":1684812,"avatar_url":"https://avatars.githubusercontent.com/u/1684812?v=3","gravatar_id":"","url":"https://api.github.com/users/socib","html_url":"https://github.com/socib","followers_url":"https://api.github.com/users/socib/followers","following_url":"https://api.github.com/users/socib/following{/other_user}","gists_url":"https://api.github.com/users/socib/gists{/gist_id}","starred_url":"https://api.github.com/users/socib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socib/subscriptions","organizations_url":"https://api.github.com/users/socib/orgs","repos_url":"https://api.github.com/users/socib/repos","events_url":"https://api.github.com/users/socib/events{/privacy}","received_events_url":"https://api.github.com/users/socib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/socib/Leaflet.TimeDimension","description":"Add time dimension capabilities on a Leaflet map. ","fork":false,"url":"https://api.github.com/repos/socib/Leaflet.TimeDimension","forks_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/forks","keys_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/teams","hooks_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/hooks","issue_events_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues/events{/number}","events_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/events","assignees_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/assignees{/user}","branches_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/branches{/branch}","tags_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/tags","blobs_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/git/refs{/sha}","trees_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/statuses/{sha}","languages_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/languages","stargazers_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/stargazers","contributors_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/contributors","subscribers_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/subscribers","subscription_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/subscription","commits_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/commits{/sha}","git_commits_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/git/commits{/sha}","comments_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/comments{/number}","issue_comment_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues/comments{/number}","contents_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/contents/{+path}","compare_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/merges","archive_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/downloads","issues_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues{/number}","pulls_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls{/number}","milestones_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/milestones{/number}","notifications_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/labels{/name}","releases_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/releases{/id}","created_at":"2014-12-19T11:59:28Z","updated_at":"2015-12-09T20:19:29Z","pushed_at":"2015-12-10T16:19:49Z","git_url":"git://github.com/socib/Leaflet.TimeDimension.git","ssh_url":"git@github.com:socib/Leaflet.TimeDimension.git","clone_url":"https://github.com/socib/Leaflet.TimeDimension.git","svn_url":"https://github.com/socib/Leaflet.TimeDimension","homepage":null,"size":1614,"stargazers_count":52,"watchers_count":52,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/23"},"html":{"href":"https://github.com/socib/Leaflet.TimeDimension/pull/23"},"issue":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues/23"},"comments":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/statuses/1635773962b4ef2479e64a57ed1a777c573a08e8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":10,"additions":12,"deletions":10,"changed_files":2}}