{"action":"created","comment":{"url":"https://api.github.com/repos/ivandokov/phockup/pulls/comments/206147398","pull_request_review_id":141550389,"id":206147398,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjE0NzM5OA==","diff_hunk":"@@ -26,20 +26,34 @@ def build(self, date_object):\n         return datetime(date_object[\"year\"], date_object[\"month\"], date_object[\"day\"],\n                         date_object[\"hour\"], date_object[\"minute\"], date_object[\"second\"])\n \n-    def from_exif(self, exif, user_regex=None):\n+    def from_exif(self, exif, timestamp=False, user_regex=None):","path":"src/date.py","position":14,"original_position":14,"commit_id":"7ae718f28631a4e84a752e25928adc38dfc3d32d","original_commit_id":"7ae718f28631a4e84a752e25928adc38dfc3d32d","user":{"login":"greatquux","id":1655942,"node_id":"MDQ6VXNlcjE2NTU5NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1655942?v=4","gravatar_id":"","url":"https://api.github.com/users/greatquux","html_url":"https://github.com/greatquux","followers_url":"https://api.github.com/users/greatquux/followers","following_url":"https://api.github.com/users/greatquux/following{/other_user}","gists_url":"https://api.github.com/users/greatquux/gists{/gist_id}","starred_url":"https://api.github.com/users/greatquux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greatquux/subscriptions","organizations_url":"https://api.github.com/users/greatquux/orgs","repos_url":"https://api.github.com/users/greatquux/repos","events_url":"https://api.github.com/users/greatquux/events{/privacy}","received_events_url":"https://api.github.com/users/greatquux/received_events","type":"User","site_admin":false},"body":"sure, it works the same way in if tests, np","created_at":"2018-07-30T14:10:56Z","updated_at":"2018-07-30T14:10:56Z","html_url":"https://github.com/ivandokov/phockup/pull/40#discussion_r206147398","pull_request_url":"https://api.github.com/repos/ivandokov/phockup/pulls/40","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ivandokov/phockup/pulls/comments/206147398"},"html":{"href":"https://github.com/ivandokov/phockup/pull/40#discussion_r206147398"},"pull_request":{"href":"https://api.github.com/repos/ivandokov/phockup/pulls/40"}},"in_reply_to_id":206064364},"pull_request":{"url":"https://api.github.com/repos/ivandokov/phockup/pulls/40","id":203638389,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzNjM4Mzg5","html_url":"https://github.com/ivandokov/phockup/pull/40","diff_url":"https://github.com/ivandokov/phockup/pull/40.diff","patch_url":"https://github.com/ivandokov/phockup/pull/40.patch","issue_url":"https://api.github.com/repos/ivandokov/phockup/issues/40","number":40,"state":"open","locked":false,"title":"v1.5.5: add option for using filestamp","user":{"login":"greatquux","id":1655942,"node_id":"MDQ6VXNlcjE2NTU5NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1655942?v=4","gravatar_id":"","url":"https://api.github.com/users/greatquux","html_url":"https://github.com/greatquux","followers_url":"https://api.github.com/users/greatquux/followers","following_url":"https://api.github.com/users/greatquux/following{/other_user}","gists_url":"https://api.github.com/users/greatquux/gists{/gist_id}","starred_url":"https://api.github.com/users/greatquux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greatquux/subscriptions","organizations_url":"https://api.github.com/users/greatquux/orgs","repos_url":"https://api.github.com/users/greatquux/repos","events_url":"https://api.github.com/users/greatquux/events{/privacy}","received_events_url":"https://api.github.com/users/greatquux/received_events","type":"User","site_admin":false},"body":"hi! thanks for this useful project. i used it to cleanup a whole lot of old photos i had.  many of them didn't have EXIF data or had the wrong data, but the file timestamps (despite being very old) were in most cases good enough for my needs so I added an option to use the file timestamp if EXIF data isn't there (or can't be used).  I wanted to make it optional since I know there are definitely times when you wouldn't want to use this, especially when those timestamps may not be correct (which is why EXIF data is used first), but I think this could be useful for others too. ","created_at":"2018-07-24T20:00:53Z","updated_at":"2018-07-30T14:10:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e2a864d357459a352474c59feb3e119f52885b8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ivandokov/phockup/pulls/40/commits","review_comments_url":"https://api.github.com/repos/ivandokov/phockup/pulls/40/comments","review_comment_url":"https://api.github.com/repos/ivandokov/phockup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ivandokov/phockup/issues/40/comments","statuses_url":"https://api.github.com/repos/ivandokov/phockup/statuses/7ae718f28631a4e84a752e25928adc38dfc3d32d","head":{"label":"greatquux:master","ref":"master","sha":"7ae718f28631a4e84a752e25928adc38dfc3d32d","user":{"login":"greatquux","id":1655942,"node_id":"MDQ6VXNlcjE2NTU5NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1655942?v=4","gravatar_id":"","url":"https://api.github.com/users/greatquux","html_url":"https://github.com/greatquux","followers_url":"https://api.github.com/users/greatquux/followers","following_url":"https://api.github.com/users/greatquux/following{/other_user}","gists_url":"https://api.github.com/users/greatquux/gists{/gist_id}","starred_url":"https://api.github.com/users/greatquux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greatquux/subscriptions","organizations_url":"https://api.github.com/users/greatquux/orgs","repos_url":"https://api.github.com/users/greatquux/repos","events_url":"https://api.github.com/users/greatquux/events{/privacy}","received_events_url":"https://api.github.com/users/greatquux/received_events","type":"User","site_admin":false},"repo":{"id":142044002,"node_id":"MDEwOlJlcG9zaXRvcnkxNDIwNDQwMDI=","name":"phockup","full_name":"greatquux/phockup","owner":{"login":"greatquux","id":1655942,"node_id":"MDQ6VXNlcjE2NTU5NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1655942?v=4","gravatar_id":"","url":"https://api.github.com/users/greatquux","html_url":"https://github.com/greatquux","followers_url":"https://api.github.com/users/greatquux/followers","following_url":"https://api.github.com/users/greatquux/following{/other_user}","gists_url":"https://api.github.com/users/greatquux/gists{/gist_id}","starred_url":"https://api.github.com/users/greatquux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greatquux/subscriptions","organizations_url":"https://api.github.com/users/greatquux/orgs","repos_url":"https://api.github.com/users/greatquux/repos","events_url":"https://api.github.com/users/greatquux/events{/privacy}","received_events_url":"https://api.github.com/users/greatquux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/greatquux/phockup","description":"Media sorting tool to organize photos and videos from your camera in folders by year, month and day.","fork":true,"url":"https://api.github.com/repos/greatquux/phockup","forks_url":"https://api.github.com/repos/greatquux/phockup/forks","keys_url":"https://api.github.com/repos/greatquux/phockup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greatquux/phockup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greatquux/phockup/teams","hooks_url":"https://api.github.com/repos/greatquux/phockup/hooks","issue_events_url":"https://api.github.com/repos/greatquux/phockup/issues/events{/number}","events_url":"https://api.github.com/repos/greatquux/phockup/events","assignees_url":"https://api.github.com/repos/greatquux/phockup/assignees{/user}","branches_url":"https://api.github.com/repos/greatquux/phockup/branches{/branch}","tags_url":"https://api.github.com/repos/greatquux/phockup/tags","blobs_url":"https://api.github.com/repos/greatquux/phockup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greatquux/phockup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greatquux/phockup/git/refs{/sha}","trees_url":"https://api.github.com/repos/greatquux/phockup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greatquux/phockup/statuses/{sha}","languages_url":"https://api.github.com/repos/greatquux/phockup/languages","stargazers_url":"https://api.github.com/repos/greatquux/phockup/stargazers","contributors_url":"https://api.github.com/repos/greatquux/phockup/contributors","subscribers_url":"https://api.github.com/repos/greatquux/phockup/subscribers","subscription_url":"https://api.github.com/repos/greatquux/phockup/subscription","commits_url":"https://api.github.com/repos/greatquux/phockup/commits{/sha}","git_commits_url":"https://api.github.com/repos/greatquux/phockup/git/commits{/sha}","comments_url":"https://api.github.com/repos/greatquux/phockup/comments{/number}","issue_comment_url":"https://api.github.com/repos/greatquux/phockup/issues/comments{/number}","contents_url":"https://api.github.com/repos/greatquux/phockup/contents/{+path}","compare_url":"https://api.github.com/repos/greatquux/phockup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greatquux/phockup/merges","archive_url":"https://api.github.com/repos/greatquux/phockup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greatquux/phockup/downloads","issues_url":"https://api.github.com/repos/greatquux/phockup/issues{/number}","pulls_url":"https://api.github.com/repos/greatquux/phockup/pulls{/number}","milestones_url":"https://api.github.com/repos/greatquux/phockup/milestones{/number}","notifications_url":"https://api.github.com/repos/greatquux/phockup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greatquux/phockup/labels{/name}","releases_url":"https://api.github.com/repos/greatquux/phockup/releases{/id}","deployments_url":"https://api.github.com/repos/greatquux/phockup/deployments","created_at":"2018-07-23T17:01:19Z","updated_at":"2018-07-26T19:54:47Z","pushed_at":"2018-07-26T19:54:45Z","git_url":"git://github.com/greatquux/phockup.git","ssh_url":"git@github.com:greatquux/phockup.git","clone_url":"https://github.com/greatquux/phockup.git","svn_url":"https://github.com/greatquux/phockup","homepage":"","size":98,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"ivandokov:master","ref":"master","sha":"02b7c4b9f90d934fc40d25cec9f74ff197991fae","user":{"login":"ivandokov","id":2357455,"node_id":"MDQ6VXNlcjIzNTc0NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/2357455?v=4","gravatar_id":"","url":"https://api.github.com/users/ivandokov","html_url":"https://github.com/ivandokov","followers_url":"https://api.github.com/users/ivandokov/followers","following_url":"https://api.github.com/users/ivandokov/following{/other_user}","gists_url":"https://api.github.com/users/ivandokov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivandokov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivandokov/subscriptions","organizations_url":"https://api.github.com/users/ivandokov/orgs","repos_url":"https://api.github.com/users/ivandokov/repos","events_url":"https://api.github.com/users/ivandokov/events{/privacy}","received_events_url":"https://api.github.com/users/ivandokov/received_events","type":"User","site_admin":false},"repo":{"id":67368674,"node_id":"MDEwOlJlcG9zaXRvcnk2NzM2ODY3NA==","name":"phockup","full_name":"ivandokov/phockup","owner":{"login":"ivandokov","id":2357455,"node_id":"MDQ6VXNlcjIzNTc0NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/2357455?v=4","gravatar_id":"","url":"https://api.github.com/users/ivandokov","html_url":"https://github.com/ivandokov","followers_url":"https://api.github.com/users/ivandokov/followers","following_url":"https://api.github.com/users/ivandokov/following{/other_user}","gists_url":"https://api.github.com/users/ivandokov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivandokov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivandokov/subscriptions","organizations_url":"https://api.github.com/users/ivandokov/orgs","repos_url":"https://api.github.com/users/ivandokov/repos","events_url":"https://api.github.com/users/ivandokov/events{/privacy}","received_events_url":"https://api.github.com/users/ivandokov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ivandokov/phockup","description":"Media sorting tool to organize photos and videos from your camera in folders by year, month and day.","fork":false,"url":"https://api.github.com/repos/ivandokov/phockup","forks_url":"https://api.github.com/repos/ivandokov/phockup/forks","keys_url":"https://api.github.com/repos/ivandokov/phockup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivandokov/phockup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivandokov/phockup/teams","hooks_url":"https://api.github.com/repos/ivandokov/phockup/hooks","issue_events_url":"https://api.github.com/repos/ivandokov/phockup/issues/events{/number}","events_url":"https://api.github.com/repos/ivandokov/phockup/events","assignees_url":"https://api.github.com/repos/ivandokov/phockup/assignees{/user}","branches_url":"https://api.github.com/repos/ivandokov/phockup/branches{/branch}","tags_url":"https://api.github.com/repos/ivandokov/phockup/tags","blobs_url":"https://api.github.com/repos/ivandokov/phockup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivandokov/phockup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivandokov/phockup/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivandokov/phockup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivandokov/phockup/statuses/{sha}","languages_url":"https://api.github.com/repos/ivandokov/phockup/languages","stargazers_url":"https://api.github.com/repos/ivandokov/phockup/stargazers","contributors_url":"https://api.github.com/repos/ivandokov/phockup/contributors","subscribers_url":"https://api.github.com/repos/ivandokov/phockup/subscribers","subscription_url":"https://api.github.com/repos/ivandokov/phockup/subscription","commits_url":"https://api.github.com/repos/ivandokov/phockup/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivandokov/phockup/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivandokov/phockup/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivandokov/phockup/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivandokov/phockup/contents/{+path}","compare_url":"https://api.github.com/repos/ivandokov/phockup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivandokov/phockup/merges","archive_url":"https://api.github.com/repos/ivandokov/phockup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivandokov/phockup/downloads","issues_url":"https://api.github.com/repos/ivandokov/phockup/issues{/number}","pulls_url":"https://api.github.com/repos/ivandokov/phockup/pulls{/number}","milestones_url":"https://api.github.com/repos/ivandokov/phockup/milestones{/number}","notifications_url":"https://api.github.com/repos/ivandokov/phockup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivandokov/phockup/labels{/name}","releases_url":"https://api.github.com/repos/ivandokov/phockup/releases{/id}","deployments_url":"https://api.github.com/repos/ivandokov/phockup/deployments","created_at":"2016-09-04T21:15:52Z","updated_at":"2018-06-22T00:49:52Z","pushed_at":"2018-07-26T19:54:46Z","git_url":"git://github.com/ivandokov/phockup.git","ssh_url":"git@github.com:ivandokov/phockup.git","clone_url":"https://github.com/ivandokov/phockup.git","svn_url":"https://github.com/ivandokov/phockup","homepage":"","size":93,"stargazers_count":63,"watchers_count":63,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":19,"open_issues":6,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ivandokov/phockup/pulls/40"},"html":{"href":"https://github.com/ivandokov/phockup/pull/40"},"issue":{"href":"https://api.github.com/repos/ivandokov/phockup/issues/40"},"comments":{"href":"https://api.github.com/repos/ivandokov/phockup/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/ivandokov/phockup/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/ivandokov/phockup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ivandokov/phockup/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/ivandokov/phockup/statuses/7ae718f28631a4e84a752e25928adc38dfc3d32d"}},"author_association":"NONE"}}
{"actor":{"display_login":"greatquux"}}