{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/pulls/37","id":64746673,"html_url":"https://github.com/dhruvasagar/vim-dotoo/pull/37","diff_url":"https://github.com/dhruvasagar/vim-dotoo/pull/37.diff","patch_url":"https://github.com/dhruvasagar/vim-dotoo/pull/37.patch","issue_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/issues/37","number":37,"state":"closed","locked":false,"title":"Fix #34","user":{"login":"paretje","id":4622838,"avatar_url":"https://avatars.githubusercontent.com/u/4622838?v=3","gravatar_id":"","url":"https://api.github.com/users/paretje","html_url":"https://github.com/paretje","followers_url":"https://api.github.com/users/paretje/followers","following_url":"https://api.github.com/users/paretje/following{/other_user}","gists_url":"https://api.github.com/users/paretje/gists{/gist_id}","starred_url":"https://api.github.com/users/paretje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paretje/subscriptions","organizations_url":"https://api.github.com/users/paretje/orgs","repos_url":"https://api.github.com/users/paretje/repos","events_url":"https://api.github.com/users/paretje/events{/privacy}","received_events_url":"https://api.github.com/users/paretje/received_events","type":"User","site_admin":false},"body":"When I was looking at what was available in the time library, I saw what caused #34. When calculating the timestamp of a date, a timezone correction is done based on the current timezone. But in countries with DST, this is no constant. Using the result of the calculation up to then instead of the current time, the correct timezone on the date is calculated. Well, it might be wrong in the hours when changing the timezone. This can be checked using tests.\r\n\r\nAnyway, this is a place where it might be interesting to use some Python instead of pure vimscript. It's sad vim does not provide anything for this, but the python does. It will probably be more efficient too.","created_at":"2016-03-31T07:35:17Z","updated_at":"2016-03-31T09:10:05Z","closed_at":"2016-03-31T09:10:05Z","merged_at":"2016-03-31T09:10:05Z","merge_commit_sha":"dc0ca07e0fa33f79fd9f0754fe6480bc909952ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/pulls/37/commits","review_comments_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/pulls/37/comments","review_comment_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/issues/37/comments","statuses_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/statuses/f03c51cbd23d919df34b57f4719e58fc23357ef6","head":{"label":"paretje:timezone","ref":"timezone","sha":"f03c51cbd23d919df34b57f4719e58fc23357ef6","user":{"login":"paretje","id":4622838,"avatar_url":"https://avatars.githubusercontent.com/u/4622838?v=3","gravatar_id":"","url":"https://api.github.com/users/paretje","html_url":"https://github.com/paretje","followers_url":"https://api.github.com/users/paretje/followers","following_url":"https://api.github.com/users/paretje/following{/other_user}","gists_url":"https://api.github.com/users/paretje/gists{/gist_id}","starred_url":"https://api.github.com/users/paretje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paretje/subscriptions","organizations_url":"https://api.github.com/users/paretje/orgs","repos_url":"https://api.github.com/users/paretje/repos","events_url":"https://api.github.com/users/paretje/events{/privacy}","received_events_url":"https://api.github.com/users/paretje/received_events","type":"User","site_admin":false},"repo":{"id":42315844,"name":"vim-dotoo","full_name":"paretje/vim-dotoo","owner":{"login":"paretje","id":4622838,"avatar_url":"https://avatars.githubusercontent.com/u/4622838?v=3","gravatar_id":"","url":"https://api.github.com/users/paretje","html_url":"https://github.com/paretje","followers_url":"https://api.github.com/users/paretje/followers","following_url":"https://api.github.com/users/paretje/following{/other_user}","gists_url":"https://api.github.com/users/paretje/gists{/gist_id}","starred_url":"https://api.github.com/users/paretje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paretje/subscriptions","organizations_url":"https://api.github.com/users/paretje/orgs","repos_url":"https://api.github.com/users/paretje/repos","events_url":"https://api.github.com/users/paretje/events{/privacy}","received_events_url":"https://api.github.com/users/paretje/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paretje/vim-dotoo","description":"Org-mode like task logging & time tracking in Vim","fork":true,"url":"https://api.github.com/repos/paretje/vim-dotoo","forks_url":"https://api.github.com/repos/paretje/vim-dotoo/forks","keys_url":"https://api.github.com/repos/paretje/vim-dotoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paretje/vim-dotoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paretje/vim-dotoo/teams","hooks_url":"https://api.github.com/repos/paretje/vim-dotoo/hooks","issue_events_url":"https://api.github.com/repos/paretje/vim-dotoo/issues/events{/number}","events_url":"https://api.github.com/repos/paretje/vim-dotoo/events","assignees_url":"https://api.github.com/repos/paretje/vim-dotoo/assignees{/user}","branches_url":"https://api.github.com/repos/paretje/vim-dotoo/branches{/branch}","tags_url":"https://api.github.com/repos/paretje/vim-dotoo/tags","blobs_url":"https://api.github.com/repos/paretje/vim-dotoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paretje/vim-dotoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paretje/vim-dotoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/paretje/vim-dotoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paretje/vim-dotoo/statuses/{sha}","languages_url":"https://api.github.com/repos/paretje/vim-dotoo/languages","stargazers_url":"https://api.github.com/repos/paretje/vim-dotoo/stargazers","contributors_url":"https://api.github.com/repos/paretje/vim-dotoo/contributors","subscribers_url":"https://api.github.com/repos/paretje/vim-dotoo/subscribers","subscription_url":"https://api.github.com/repos/paretje/vim-dotoo/subscription","commits_url":"https://api.github.com/repos/paretje/vim-dotoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/paretje/vim-dotoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/paretje/vim-dotoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/paretje/vim-dotoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/paretje/vim-dotoo/contents/{+path}","compare_url":"https://api.github.com/repos/paretje/vim-dotoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paretje/vim-dotoo/merges","archive_url":"https://api.github.com/repos/paretje/vim-dotoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paretje/vim-dotoo/downloads","issues_url":"https://api.github.com/repos/paretje/vim-dotoo/issues{/number}","pulls_url":"https://api.github.com/repos/paretje/vim-dotoo/pulls{/number}","milestones_url":"https://api.github.com/repos/paretje/vim-dotoo/milestones{/number}","notifications_url":"https://api.github.com/repos/paretje/vim-dotoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paretje/vim-dotoo/labels{/name}","releases_url":"https://api.github.com/repos/paretje/vim-dotoo/releases{/id}","deployments_url":"https://api.github.com/repos/paretje/vim-dotoo/deployments","created_at":"2015-09-11T15:16:21Z","updated_at":"2016-01-19T14:32:44Z","pushed_at":"2016-03-31T00:37:07Z","git_url":"git://github.com/paretje/vim-dotoo.git","ssh_url":"git@github.com:paretje/vim-dotoo.git","clone_url":"https://github.com/paretje/vim-dotoo.git","svn_url":"https://github.com/paretje/vim-dotoo","homepage":"","size":263,"stargazers_count":0,"watchers_count":0,"language":"VimL","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":"dhruvasagar:master","ref":"master","sha":"48285ecb389c6f61d0e07b0b242a3f17bd8de16c","user":{"login":"dhruvasagar","id":88258,"avatar_url":"https://avatars.githubusercontent.com/u/88258?v=3","gravatar_id":"","url":"https://api.github.com/users/dhruvasagar","html_url":"https://github.com/dhruvasagar","followers_url":"https://api.github.com/users/dhruvasagar/followers","following_url":"https://api.github.com/users/dhruvasagar/following{/other_user}","gists_url":"https://api.github.com/users/dhruvasagar/gists{/gist_id}","starred_url":"https://api.github.com/users/dhruvasagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhruvasagar/subscriptions","organizations_url":"https://api.github.com/users/dhruvasagar/orgs","repos_url":"https://api.github.com/users/dhruvasagar/repos","events_url":"https://api.github.com/users/dhruvasagar/events{/privacy}","received_events_url":"https://api.github.com/users/dhruvasagar/received_events","type":"User","site_admin":false},"repo":{"id":20684200,"name":"vim-dotoo","full_name":"dhruvasagar/vim-dotoo","owner":{"login":"dhruvasagar","id":88258,"avatar_url":"https://avatars.githubusercontent.com/u/88258?v=3","gravatar_id":"","url":"https://api.github.com/users/dhruvasagar","html_url":"https://github.com/dhruvasagar","followers_url":"https://api.github.com/users/dhruvasagar/followers","following_url":"https://api.github.com/users/dhruvasagar/following{/other_user}","gists_url":"https://api.github.com/users/dhruvasagar/gists{/gist_id}","starred_url":"https://api.github.com/users/dhruvasagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhruvasagar/subscriptions","organizations_url":"https://api.github.com/users/dhruvasagar/orgs","repos_url":"https://api.github.com/users/dhruvasagar/repos","events_url":"https://api.github.com/users/dhruvasagar/events{/privacy}","received_events_url":"https://api.github.com/users/dhruvasagar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dhruvasagar/vim-dotoo","description":"Org-mode like task logging & time tracking in Vim","fork":false,"url":"https://api.github.com/repos/dhruvasagar/vim-dotoo","forks_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/forks","keys_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/teams","hooks_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/hooks","issue_events_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/issues/events{/number}","events_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/events","assignees_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/assignees{/user}","branches_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/branches{/branch}","tags_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/tags","blobs_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/statuses/{sha}","languages_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/languages","stargazers_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/stargazers","contributors_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/contributors","subscribers_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/subscribers","subscription_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/subscription","commits_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/contents/{+path}","compare_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/merges","archive_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/downloads","issues_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/issues{/number}","pulls_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/pulls{/number}","milestones_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/milestones{/number}","notifications_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/labels{/name}","releases_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/releases{/id}","deployments_url":"https://api.github.com/repos/dhruvasagar/vim-dotoo/deployments","created_at":"2014-06-10T12:24:33Z","updated_at":"2016-03-10T06:41:49Z","pushed_at":"2016-03-31T09:10:05Z","git_url":"git://github.com/dhruvasagar/vim-dotoo.git","ssh_url":"git@github.com:dhruvasagar/vim-dotoo.git","clone_url":"https://github.com/dhruvasagar/vim-dotoo.git","svn_url":"https://github.com/dhruvasagar/vim-dotoo","homepage":"","size":254,"stargazers_count":130,"watchers_count":130,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":130,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dhruvasagar/vim-dotoo/pulls/37"},"html":{"href":"https://github.com/dhruvasagar/vim-dotoo/pull/37"},"issue":{"href":"https://api.github.com/repos/dhruvasagar/vim-dotoo/issues/37"},"comments":{"href":"https://api.github.com/repos/dhruvasagar/vim-dotoo/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/dhruvasagar/vim-dotoo/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/dhruvasagar/vim-dotoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dhruvasagar/vim-dotoo/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/dhruvasagar/vim-dotoo/statuses/f03c51cbd23d919df34b57f4719e58fc23357ef6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dhruvasagar","id":88258,"avatar_url":"https://avatars.githubusercontent.com/u/88258?v=3","gravatar_id":"","url":"https://api.github.com/users/dhruvasagar","html_url":"https://github.com/dhruvasagar","followers_url":"https://api.github.com/users/dhruvasagar/followers","following_url":"https://api.github.com/users/dhruvasagar/following{/other_user}","gists_url":"https://api.github.com/users/dhruvasagar/gists{/gist_id}","starred_url":"https://api.github.com/users/dhruvasagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhruvasagar/subscriptions","organizations_url":"https://api.github.com/users/dhruvasagar/orgs","repos_url":"https://api.github.com/users/dhruvasagar/repos","events_url":"https://api.github.com/users/dhruvasagar/events{/privacy}","received_events_url":"https://api.github.com/users/dhruvasagar/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}