{"action":"created","comment":{"url":"https://api.github.com/repos/scrapinghub/dateparser/pulls/comments/33273492","id":33273492,"diff_hunk":"@@ -4,14 +4,13 @@\n \n from dateparser.timezones import timezone_info_list\n \n-TIMEZONE_REGEX_PATTERN = r'(\\b|\\d)%s$'\n-\n \n def pop_tz_offset_from_string(date_string, as_offset=True):\n-    for name, info in _tz_offsets.iteritems():\n+    for name, info in _tz_offsets:\n         timezone_re = info['regex']\n         if timezone_re.search(date_string):\n-            date_string = timezone_re.sub(r'\\1', date_string)  # \\1 = (\\b|\\d) in TIMEZONE_REGEX_PATTERN\n+            # \\1 = (\\b|\\d) in TIMEZONE_REGEX_PATTERN","path":"dateparser/timezone_parser.py","position":13,"original_position":13,"commit_id":"e1984a6ef49214ff8218b32dfd6677477c2d238b","original_commit_id":"e1984a6ef49214ff8218b32dfd6677477c2d238b","user":{"login":"waqasshabbir","id":1888537,"avatar_url":"https://avatars.githubusercontent.com/u/1888537?v=3","gravatar_id":"","url":"https://api.github.com/users/waqasshabbir","html_url":"https://github.com/waqasshabbir","followers_url":"https://api.github.com/users/waqasshabbir/followers","following_url":"https://api.github.com/users/waqasshabbir/following{/other_user}","gists_url":"https://api.github.com/users/waqasshabbir/gists{/gist_id}","starred_url":"https://api.github.com/users/waqasshabbir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waqasshabbir/subscriptions","organizations_url":"https://api.github.com/users/waqasshabbir/orgs","repos_url":"https://api.github.com/users/waqasshabbir/repos","events_url":"https://api.github.com/users/waqasshabbir/events{/privacy}","received_events_url":"https://api.github.com/users/waqasshabbir/received_events","type":"User","site_admin":false},"body":"Missed it. Let me fix it now.","created_at":"2015-06-25T16:16:48Z","updated_at":"2015-06-25T16:16:48Z","html_url":"https://github.com/scrapinghub/dateparser/pull/86#discussion_r33273492","pull_request_url":"https://api.github.com/repos/scrapinghub/dateparser/pulls/86","_links":{"self":{"href":"https://api.github.com/repos/scrapinghub/dateparser/pulls/comments/33273492"},"html":{"href":"https://github.com/scrapinghub/dateparser/pull/86#discussion_r33273492"},"pull_request":{"href":"https://api.github.com/repos/scrapinghub/dateparser/pulls/86"}}},"pull_request":{"url":"https://api.github.com/repos/scrapinghub/dateparser/pulls/86","id":35821898,"html_url":"https://github.com/scrapinghub/dateparser/pull/86","diff_url":"https://github.com/scrapinghub/dateparser/pull/86.diff","patch_url":"https://github.com/scrapinghub/dateparser/pull/86.patch","issue_url":"https://api.github.com/repos/scrapinghub/dateparser/issues/86","number":86,"state":"open","locked":false,"title":"Feature iso date format with non english language","user":{"login":"waqasshabbir","id":1888537,"avatar_url":"https://avatars.githubusercontent.com/u/1888537?v=3","gravatar_id":"","url":"https://api.github.com/users/waqasshabbir","html_url":"https://github.com/waqasshabbir","followers_url":"https://api.github.com/users/waqasshabbir/followers","following_url":"https://api.github.com/users/waqasshabbir/following{/other_user}","gists_url":"https://api.github.com/users/waqasshabbir/gists{/gist_id}","starred_url":"https://api.github.com/users/waqasshabbir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waqasshabbir/subscriptions","organizations_url":"https://api.github.com/users/waqasshabbir/orgs","repos_url":"https://api.github.com/users/waqasshabbir/repos","events_url":"https://api.github.com/users/waqasshabbir/events{/privacy}","received_events_url":"https://api.github.com/users/waqasshabbir/received_events","type":"User","site_admin":false},"body":"Fixes iso datestamp format parsing issue.\r\n\r\n`parse('2015-05-02T10:20:19+0000', languages=['fr'])`\r\n is not parsed, while\r\n`parse('2015-05-02T10:20:19+0000', languages=['en'])` has good result.\r\n\r\nFixes #45 ","created_at":"2015-05-20T11:27:06Z","updated_at":"2015-06-25T16:16:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a52ef2ff20cbeeed25ba32a68daef46e4bfd63c7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scrapinghub/dateparser/pulls/86/commits","review_comments_url":"https://api.github.com/repos/scrapinghub/dateparser/pulls/86/comments","review_comment_url":"https://api.github.com/repos/scrapinghub/dateparser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scrapinghub/dateparser/issues/86/comments","statuses_url":"https://api.github.com/repos/scrapinghub/dateparser/statuses/e1984a6ef49214ff8218b32dfd6677477c2d238b","head":{"label":"scrapinghub:feature-iso-date-format-with-non-english-language","ref":"feature-iso-date-format-with-non-english-language","sha":"e1984a6ef49214ff8218b32dfd6677477c2d238b","user":{"login":"scrapinghub","id":699596,"avatar_url":"https://avatars.githubusercontent.com/u/699596?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"repo":{"id":27086567,"name":"dateparser","full_name":"scrapinghub/dateparser","owner":{"login":"scrapinghub","id":699596,"avatar_url":"https://avatars.githubusercontent.com/u/699596?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scrapinghub/dateparser","description":"python parser for human readable dates","fork":false,"url":"https://api.github.com/repos/scrapinghub/dateparser","forks_url":"https://api.github.com/repos/scrapinghub/dateparser/forks","keys_url":"https://api.github.com/repos/scrapinghub/dateparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scrapinghub/dateparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scrapinghub/dateparser/teams","hooks_url":"https://api.github.com/repos/scrapinghub/dateparser/hooks","issue_events_url":"https://api.github.com/repos/scrapinghub/dateparser/issues/events{/number}","events_url":"https://api.github.com/repos/scrapinghub/dateparser/events","assignees_url":"https://api.github.com/repos/scrapinghub/dateparser/assignees{/user}","branches_url":"https://api.github.com/repos/scrapinghub/dateparser/branches{/branch}","tags_url":"https://api.github.com/repos/scrapinghub/dateparser/tags","blobs_url":"https://api.github.com/repos/scrapinghub/dateparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scrapinghub/dateparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scrapinghub/dateparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/scrapinghub/dateparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scrapinghub/dateparser/statuses/{sha}","languages_url":"https://api.github.com/repos/scrapinghub/dateparser/languages","stargazers_url":"https://api.github.com/repos/scrapinghub/dateparser/stargazers","contributors_url":"https://api.github.com/repos/scrapinghub/dateparser/contributors","subscribers_url":"https://api.github.com/repos/scrapinghub/dateparser/subscribers","subscription_url":"https://api.github.com/repos/scrapinghub/dateparser/subscription","commits_url":"https://api.github.com/repos/scrapinghub/dateparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/scrapinghub/dateparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/scrapinghub/dateparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/scrapinghub/dateparser/issues/comments{/number}","contents_url":"https://api.github.com/repos/scrapinghub/dateparser/contents/{+path}","compare_url":"https://api.github.com/repos/scrapinghub/dateparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scrapinghub/dateparser/merges","archive_url":"https://api.github.com/repos/scrapinghub/dateparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scrapinghub/dateparser/downloads","issues_url":"https://api.github.com/repos/scrapinghub/dateparser/issues{/number}","pulls_url":"https://api.github.com/repos/scrapinghub/dateparser/pulls{/number}","milestones_url":"https://api.github.com/repos/scrapinghub/dateparser/milestones{/number}","notifications_url":"https://api.github.com/repos/scrapinghub/dateparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scrapinghub/dateparser/labels{/name}","releases_url":"https://api.github.com/repos/scrapinghub/dateparser/releases{/id}","created_at":"2014-11-24T17:30:12Z","updated_at":"2015-06-24T09:57:10Z","pushed_at":"2015-06-25T13:46:38Z","git_url":"git://github.com/scrapinghub/dateparser.git","ssh_url":"git@github.com:scrapinghub/dateparser.git","clone_url":"https://github.com/scrapinghub/dateparser.git","svn_url":"https://github.com/scrapinghub/dateparser","homepage":"","size":1412,"stargazers_count":359,"watchers_count":359,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":20,"forks":32,"open_issues":20,"watchers":359,"default_branch":"master"}},"base":{"label":"scrapinghub:master","ref":"master","sha":"f956e0394a2b036f3edf87f25eb9d1a20950b733","user":{"login":"scrapinghub","id":699596,"avatar_url":"https://avatars.githubusercontent.com/u/699596?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"repo":{"id":27086567,"name":"dateparser","full_name":"scrapinghub/dateparser","owner":{"login":"scrapinghub","id":699596,"avatar_url":"https://avatars.githubusercontent.com/u/699596?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scrapinghub/dateparser","description":"python parser for human readable dates","fork":false,"url":"https://api.github.com/repos/scrapinghub/dateparser","forks_url":"https://api.github.com/repos/scrapinghub/dateparser/forks","keys_url":"https://api.github.com/repos/scrapinghub/dateparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scrapinghub/dateparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scrapinghub/dateparser/teams","hooks_url":"https://api.github.com/repos/scrapinghub/dateparser/hooks","issue_events_url":"https://api.github.com/repos/scrapinghub/dateparser/issues/events{/number}","events_url":"https://api.github.com/repos/scrapinghub/dateparser/events","assignees_url":"https://api.github.com/repos/scrapinghub/dateparser/assignees{/user}","branches_url":"https://api.github.com/repos/scrapinghub/dateparser/branches{/branch}","tags_url":"https://api.github.com/repos/scrapinghub/dateparser/tags","blobs_url":"https://api.github.com/repos/scrapinghub/dateparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scrapinghub/dateparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scrapinghub/dateparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/scrapinghub/dateparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scrapinghub/dateparser/statuses/{sha}","languages_url":"https://api.github.com/repos/scrapinghub/dateparser/languages","stargazers_url":"https://api.github.com/repos/scrapinghub/dateparser/stargazers","contributors_url":"https://api.github.com/repos/scrapinghub/dateparser/contributors","subscribers_url":"https://api.github.com/repos/scrapinghub/dateparser/subscribers","subscription_url":"https://api.github.com/repos/scrapinghub/dateparser/subscription","commits_url":"https://api.github.com/repos/scrapinghub/dateparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/scrapinghub/dateparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/scrapinghub/dateparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/scrapinghub/dateparser/issues/comments{/number}","contents_url":"https://api.github.com/repos/scrapinghub/dateparser/contents/{+path}","compare_url":"https://api.github.com/repos/scrapinghub/dateparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scrapinghub/dateparser/merges","archive_url":"https://api.github.com/repos/scrapinghub/dateparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scrapinghub/dateparser/downloads","issues_url":"https://api.github.com/repos/scrapinghub/dateparser/issues{/number}","pulls_url":"https://api.github.com/repos/scrapinghub/dateparser/pulls{/number}","milestones_url":"https://api.github.com/repos/scrapinghub/dateparser/milestones{/number}","notifications_url":"https://api.github.com/repos/scrapinghub/dateparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scrapinghub/dateparser/labels{/name}","releases_url":"https://api.github.com/repos/scrapinghub/dateparser/releases{/id}","created_at":"2014-11-24T17:30:12Z","updated_at":"2015-06-24T09:57:10Z","pushed_at":"2015-06-25T13:46:38Z","git_url":"git://github.com/scrapinghub/dateparser.git","ssh_url":"git@github.com:scrapinghub/dateparser.git","clone_url":"https://github.com/scrapinghub/dateparser.git","svn_url":"https://github.com/scrapinghub/dateparser","homepage":"","size":1412,"stargazers_count":359,"watchers_count":359,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":20,"forks":32,"open_issues":20,"watchers":359,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scrapinghub/dateparser/pulls/86"},"html":{"href":"https://github.com/scrapinghub/dateparser/pull/86"},"issue":{"href":"https://api.github.com/repos/scrapinghub/dateparser/issues/86"},"comments":{"href":"https://api.github.com/repos/scrapinghub/dateparser/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/scrapinghub/dateparser/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/scrapinghub/dateparser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scrapinghub/dateparser/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/scrapinghub/dateparser/statuses/e1984a6ef49214ff8218b32dfd6677477c2d238b"}}}}