{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/pulls/7","id":171604985,"html_url":"https://github.com/citycensus/offene-daten-ckan-lambda/pull/7","diff_url":"https://github.com/citycensus/offene-daten-ckan-lambda/pull/7.diff","patch_url":"https://github.com/citycensus/offene-daten-ckan-lambda/pull/7.patch","issue_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/issues/7","number":7,"state":"closed","locked":false,"title":"Fix different dates in DKAN and CKAN","user":{"login":"milafrerichs","id":688980,"avatar_url":"https://avatars3.githubusercontent.com/u/688980?v=4","gravatar_id":"","url":"https://api.github.com/users/milafrerichs","html_url":"https://github.com/milafrerichs","followers_url":"https://api.github.com/users/milafrerichs/followers","following_url":"https://api.github.com/users/milafrerichs/following{/other_user}","gists_url":"https://api.github.com/users/milafrerichs/gists{/gist_id}","starred_url":"https://api.github.com/users/milafrerichs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milafrerichs/subscriptions","organizations_url":"https://api.github.com/users/milafrerichs/orgs","repos_url":"https://api.github.com/users/milafrerichs/repos","events_url":"https://api.github.com/users/milafrerichs/events{/privacy}","received_events_url":"https://api.github.com/users/milafrerichs/received_events","type":"User","site_admin":false},"body":"## What does this PR do?\r\nFix the `metadata_updated` parsing which results in the `update_time` ranking. \r\n\r\n### Cause\r\nDKAN and CKAN use different time formats  for metadata. \r\n\r\nnow we use the datetime parser which is aware of more formats and we're not too opinionated.\r\n\r\n### Fix\r\n\r\nuse dateutil parser instead of just `datetime.datetime.strptime` with a defined format. ","created_at":"2018-02-27T09:27:00Z","updated_at":"2018-03-10T08:04:55Z","closed_at":"2018-03-10T08:04:55Z","merged_at":"2018-03-10T08:04:55Z","merge_commit_sha":"1a1d4919795f2e83dfc7836222fef90a41ffd30c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/pulls/7/commits","review_comments_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/pulls/7/comments","review_comment_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/issues/7/comments","statuses_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/statuses/0e446a3c90cfa534d981bfa573f9b3118a3cc5e4","head":{"label":"citycensus:fix-date-for-dkan","ref":"fix-date-for-dkan","sha":"0e446a3c90cfa534d981bfa573f9b3118a3cc5e4","user":{"login":"citycensus","id":31856322,"avatar_url":"https://avatars2.githubusercontent.com/u/31856322?v=4","gravatar_id":"","url":"https://api.github.com/users/citycensus","html_url":"https://github.com/citycensus","followers_url":"https://api.github.com/users/citycensus/followers","following_url":"https://api.github.com/users/citycensus/following{/other_user}","gists_url":"https://api.github.com/users/citycensus/gists{/gist_id}","starred_url":"https://api.github.com/users/citycensus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citycensus/subscriptions","organizations_url":"https://api.github.com/users/citycensus/orgs","repos_url":"https://api.github.com/users/citycensus/repos","events_url":"https://api.github.com/users/citycensus/events{/privacy}","received_events_url":"https://api.github.com/users/citycensus/received_events","type":"Organization","site_admin":false},"repo":{"id":106667486,"name":"offene-daten-ckan-lambda","full_name":"citycensus/offene-daten-ckan-lambda","owner":{"login":"citycensus","id":31856322,"avatar_url":"https://avatars2.githubusercontent.com/u/31856322?v=4","gravatar_id":"","url":"https://api.github.com/users/citycensus","html_url":"https://github.com/citycensus","followers_url":"https://api.github.com/users/citycensus/followers","following_url":"https://api.github.com/users/citycensus/following{/other_user}","gists_url":"https://api.github.com/users/citycensus/gists{/gist_id}","starred_url":"https://api.github.com/users/citycensus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citycensus/subscriptions","organizations_url":"https://api.github.com/users/citycensus/orgs","repos_url":"https://api.github.com/users/citycensus/repos","events_url":"https://api.github.com/users/citycensus/events{/privacy}","received_events_url":"https://api.github.com/users/citycensus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/citycensus/offene-daten-ckan-lambda","description":null,"fork":false,"url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda","forks_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/forks","keys_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/teams","hooks_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/hooks","issue_events_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/issues/events{/number}","events_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/events","assignees_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/assignees{/user}","branches_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/branches{/branch}","tags_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/tags","blobs_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/git/refs{/sha}","trees_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/statuses/{sha}","languages_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/languages","stargazers_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/stargazers","contributors_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/contributors","subscribers_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/subscribers","subscription_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/subscription","commits_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/commits{/sha}","git_commits_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/git/commits{/sha}","comments_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/comments{/number}","issue_comment_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/issues/comments{/number}","contents_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/contents/{+path}","compare_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/merges","archive_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/downloads","issues_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/issues{/number}","pulls_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/pulls{/number}","milestones_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/milestones{/number}","notifications_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/labels{/name}","releases_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/releases{/id}","deployments_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/deployments","created_at":"2017-10-12T08:43:58Z","updated_at":"2017-10-12T08:46:24Z","pushed_at":"2018-03-10T08:04:55Z","git_url":"git://github.com/citycensus/offene-daten-ckan-lambda.git","ssh_url":"git@github.com:citycensus/offene-daten-ckan-lambda.git","clone_url":"https://github.com/citycensus/offene-daten-ckan-lambda.git","svn_url":"https://github.com/citycensus/offene-daten-ckan-lambda","homepage":null,"size":36,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"citycensus:master","ref":"master","sha":"be1329b946aff764097addbb888fe6e9d6089cf4","user":{"login":"citycensus","id":31856322,"avatar_url":"https://avatars2.githubusercontent.com/u/31856322?v=4","gravatar_id":"","url":"https://api.github.com/users/citycensus","html_url":"https://github.com/citycensus","followers_url":"https://api.github.com/users/citycensus/followers","following_url":"https://api.github.com/users/citycensus/following{/other_user}","gists_url":"https://api.github.com/users/citycensus/gists{/gist_id}","starred_url":"https://api.github.com/users/citycensus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citycensus/subscriptions","organizations_url":"https://api.github.com/users/citycensus/orgs","repos_url":"https://api.github.com/users/citycensus/repos","events_url":"https://api.github.com/users/citycensus/events{/privacy}","received_events_url":"https://api.github.com/users/citycensus/received_events","type":"Organization","site_admin":false},"repo":{"id":106667486,"name":"offene-daten-ckan-lambda","full_name":"citycensus/offene-daten-ckan-lambda","owner":{"login":"citycensus","id":31856322,"avatar_url":"https://avatars2.githubusercontent.com/u/31856322?v=4","gravatar_id":"","url":"https://api.github.com/users/citycensus","html_url":"https://github.com/citycensus","followers_url":"https://api.github.com/users/citycensus/followers","following_url":"https://api.github.com/users/citycensus/following{/other_user}","gists_url":"https://api.github.com/users/citycensus/gists{/gist_id}","starred_url":"https://api.github.com/users/citycensus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citycensus/subscriptions","organizations_url":"https://api.github.com/users/citycensus/orgs","repos_url":"https://api.github.com/users/citycensus/repos","events_url":"https://api.github.com/users/citycensus/events{/privacy}","received_events_url":"https://api.github.com/users/citycensus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/citycensus/offene-daten-ckan-lambda","description":null,"fork":false,"url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda","forks_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/forks","keys_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/teams","hooks_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/hooks","issue_events_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/issues/events{/number}","events_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/events","assignees_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/assignees{/user}","branches_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/branches{/branch}","tags_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/tags","blobs_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/git/refs{/sha}","trees_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/statuses/{sha}","languages_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/languages","stargazers_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/stargazers","contributors_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/contributors","subscribers_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/subscribers","subscription_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/subscription","commits_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/commits{/sha}","git_commits_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/git/commits{/sha}","comments_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/comments{/number}","issue_comment_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/issues/comments{/number}","contents_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/contents/{+path}","compare_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/merges","archive_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/downloads","issues_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/issues{/number}","pulls_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/pulls{/number}","milestones_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/milestones{/number}","notifications_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/labels{/name}","releases_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/releases{/id}","deployments_url":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/deployments","created_at":"2017-10-12T08:43:58Z","updated_at":"2017-10-12T08:46:24Z","pushed_at":"2018-03-10T08:04:55Z","git_url":"git://github.com/citycensus/offene-daten-ckan-lambda.git","ssh_url":"git@github.com:citycensus/offene-daten-ckan-lambda.git","clone_url":"https://github.com/citycensus/offene-daten-ckan-lambda.git","svn_url":"https://github.com/citycensus/offene-daten-ckan-lambda","homepage":null,"size":36,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/pulls/7"},"html":{"href":"https://github.com/citycensus/offene-daten-ckan-lambda/pull/7"},"issue":{"href":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/issues/7"},"comments":{"href":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/citycensus/offene-daten-ckan-lambda/statuses/0e446a3c90cfa534d981bfa573f9b3118a3cc5e4"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"milafrerichs","id":688980,"avatar_url":"https://avatars3.githubusercontent.com/u/688980?v=4","gravatar_id":"","url":"https://api.github.com/users/milafrerichs","html_url":"https://github.com/milafrerichs","followers_url":"https://api.github.com/users/milafrerichs/followers","following_url":"https://api.github.com/users/milafrerichs/following{/other_user}","gists_url":"https://api.github.com/users/milafrerichs/gists{/gist_id}","starred_url":"https://api.github.com/users/milafrerichs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milafrerichs/subscriptions","organizations_url":"https://api.github.com/users/milafrerichs/orgs","repos_url":"https://api.github.com/users/milafrerichs/repos","events_url":"https://api.github.com/users/milafrerichs/events{/privacy}","received_events_url":"https://api.github.com/users/milafrerichs/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":14,"deletions":7,"changed_files":1}}
{"actor":{"display_login":"milafrerichs"}}