{"action":"closed","number":13,"pull_request":{"url":"https://api.github.com/repos/CtrlShiftGo/utilities/pulls/13","id":76000399,"html_url":"https://github.com/CtrlShiftGo/utilities/pull/13","diff_url":"https://github.com/CtrlShiftGo/utilities/pull/13.diff","patch_url":"https://github.com/CtrlShiftGo/utilities/pull/13.patch","issue_url":"https://api.github.com/repos/CtrlShiftGo/utilities/issues/13","number":13,"state":"closed","locked":false,"title":"fix misplaced entry when opening day at end of month","user":{"login":"CtrlShiftGo","id":14342738,"avatar_url":"https://avatars.githubusercontent.com/u/14342738?v=3","gravatar_id":"","url":"https://api.github.com/users/CtrlShiftGo","html_url":"https://github.com/CtrlShiftGo","followers_url":"https://api.github.com/users/CtrlShiftGo/followers","following_url":"https://api.github.com/users/CtrlShiftGo/following{/other_user}","gists_url":"https://api.github.com/users/CtrlShiftGo/gists{/gist_id}","starred_url":"https://api.github.com/users/CtrlShiftGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CtrlShiftGo/subscriptions","organizations_url":"https://api.github.com/users/CtrlShiftGo/orgs","repos_url":"https://api.github.com/users/CtrlShiftGo/repos","events_url":"https://api.github.com/users/CtrlShiftGo/events{/privacy}","received_events_url":"https://api.github.com/users/CtrlShiftGo/received_events","type":"User","site_admin":false},"body":"When opening the journal at the end of the month, the timestamp is incorrectly placed at the end of the journal file rather than under the corresponding date. \r\n\r\nThe issue is caused by an incorrectly formatted time object. In order to find the location to place the time stamp the program finds the date immediately after the desired date, and places the timestamp just before this header. It finds the date immediately after the desired date by adding one to the days component of the date. When at the end of the month this results in an illogical state for the date, which causes the finding of the header to fail. \r\n\r\nThis is resolved by using mktime to adjust the values to represent a valid date.","created_at":"2016-07-01T15:51:25Z","updated_at":"2016-07-02T02:03:25Z","closed_at":"2016-07-02T02:03:25Z","merged_at":"2016-07-02T02:03:25Z","merge_commit_sha":"981ac44a27297ba798bcc45dc716a6d8202a6350","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CtrlShiftGo/utilities/pulls/13/commits","review_comments_url":"https://api.github.com/repos/CtrlShiftGo/utilities/pulls/13/comments","review_comment_url":"https://api.github.com/repos/CtrlShiftGo/utilities/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CtrlShiftGo/utilities/issues/13/comments","statuses_url":"https://api.github.com/repos/CtrlShiftGo/utilities/statuses/9e1cb65486bb4c74f59bbf7d719a6f13568b60c0","head":{"label":"CtrlShiftGo:fix-end-of-month-entry","ref":"fix-end-of-month-entry","sha":"9e1cb65486bb4c74f59bbf7d719a6f13568b60c0","user":{"login":"CtrlShiftGo","id":14342738,"avatar_url":"https://avatars.githubusercontent.com/u/14342738?v=3","gravatar_id":"","url":"https://api.github.com/users/CtrlShiftGo","html_url":"https://github.com/CtrlShiftGo","followers_url":"https://api.github.com/users/CtrlShiftGo/followers","following_url":"https://api.github.com/users/CtrlShiftGo/following{/other_user}","gists_url":"https://api.github.com/users/CtrlShiftGo/gists{/gist_id}","starred_url":"https://api.github.com/users/CtrlShiftGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CtrlShiftGo/subscriptions","organizations_url":"https://api.github.com/users/CtrlShiftGo/orgs","repos_url":"https://api.github.com/users/CtrlShiftGo/repos","events_url":"https://api.github.com/users/CtrlShiftGo/events{/privacy}","received_events_url":"https://api.github.com/users/CtrlShiftGo/received_events","type":"User","site_admin":false},"repo":{"id":52311649,"name":"utilities","full_name":"CtrlShiftGo/utilities","owner":{"login":"CtrlShiftGo","id":14342738,"avatar_url":"https://avatars.githubusercontent.com/u/14342738?v=3","gravatar_id":"","url":"https://api.github.com/users/CtrlShiftGo","html_url":"https://github.com/CtrlShiftGo","followers_url":"https://api.github.com/users/CtrlShiftGo/followers","following_url":"https://api.github.com/users/CtrlShiftGo/following{/other_user}","gists_url":"https://api.github.com/users/CtrlShiftGo/gists{/gist_id}","starred_url":"https://api.github.com/users/CtrlShiftGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CtrlShiftGo/subscriptions","organizations_url":"https://api.github.com/users/CtrlShiftGo/orgs","repos_url":"https://api.github.com/users/CtrlShiftGo/repos","events_url":"https://api.github.com/users/CtrlShiftGo/events{/privacy}","received_events_url":"https://api.github.com/users/CtrlShiftGo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CtrlShiftGo/utilities","description":"much handy amaze useful","fork":false,"url":"https://api.github.com/repos/CtrlShiftGo/utilities","forks_url":"https://api.github.com/repos/CtrlShiftGo/utilities/forks","keys_url":"https://api.github.com/repos/CtrlShiftGo/utilities/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CtrlShiftGo/utilities/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CtrlShiftGo/utilities/teams","hooks_url":"https://api.github.com/repos/CtrlShiftGo/utilities/hooks","issue_events_url":"https://api.github.com/repos/CtrlShiftGo/utilities/issues/events{/number}","events_url":"https://api.github.com/repos/CtrlShiftGo/utilities/events","assignees_url":"https://api.github.com/repos/CtrlShiftGo/utilities/assignees{/user}","branches_url":"https://api.github.com/repos/CtrlShiftGo/utilities/branches{/branch}","tags_url":"https://api.github.com/repos/CtrlShiftGo/utilities/tags","blobs_url":"https://api.github.com/repos/CtrlShiftGo/utilities/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CtrlShiftGo/utilities/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CtrlShiftGo/utilities/git/refs{/sha}","trees_url":"https://api.github.com/repos/CtrlShiftGo/utilities/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CtrlShiftGo/utilities/statuses/{sha}","languages_url":"https://api.github.com/repos/CtrlShiftGo/utilities/languages","stargazers_url":"https://api.github.com/repos/CtrlShiftGo/utilities/stargazers","contributors_url":"https://api.github.com/repos/CtrlShiftGo/utilities/contributors","subscribers_url":"https://api.github.com/repos/CtrlShiftGo/utilities/subscribers","subscription_url":"https://api.github.com/repos/CtrlShiftGo/utilities/subscription","commits_url":"https://api.github.com/repos/CtrlShiftGo/utilities/commits{/sha}","git_commits_url":"https://api.github.com/repos/CtrlShiftGo/utilities/git/commits{/sha}","comments_url":"https://api.github.com/repos/CtrlShiftGo/utilities/comments{/number}","issue_comment_url":"https://api.github.com/repos/CtrlShiftGo/utilities/issues/comments{/number}","contents_url":"https://api.github.com/repos/CtrlShiftGo/utilities/contents/{+path}","compare_url":"https://api.github.com/repos/CtrlShiftGo/utilities/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CtrlShiftGo/utilities/merges","archive_url":"https://api.github.com/repos/CtrlShiftGo/utilities/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CtrlShiftGo/utilities/downloads","issues_url":"https://api.github.com/repos/CtrlShiftGo/utilities/issues{/number}","pulls_url":"https://api.github.com/repos/CtrlShiftGo/utilities/pulls{/number}","milestones_url":"https://api.github.com/repos/CtrlShiftGo/utilities/milestones{/number}","notifications_url":"https://api.github.com/repos/CtrlShiftGo/utilities/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CtrlShiftGo/utilities/labels{/name}","releases_url":"https://api.github.com/repos/CtrlShiftGo/utilities/releases{/id}","deployments_url":"https://api.github.com/repos/CtrlShiftGo/utilities/deployments","created_at":"2016-02-22T22:43:20Z","updated_at":"2016-04-15T00:45:01Z","pushed_at":"2016-07-02T02:03:25Z","git_url":"git://github.com/CtrlShiftGo/utilities.git","ssh_url":"git@github.com:CtrlShiftGo/utilities.git","clone_url":"https://github.com/CtrlShiftGo/utilities.git","svn_url":"https://github.com/CtrlShiftGo/utilities","homepage":null,"size":19,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"CtrlShiftGo:dev","ref":"dev","sha":"ae86c63cb094d887470e4c05d9aefc54890036d4","user":{"login":"CtrlShiftGo","id":14342738,"avatar_url":"https://avatars.githubusercontent.com/u/14342738?v=3","gravatar_id":"","url":"https://api.github.com/users/CtrlShiftGo","html_url":"https://github.com/CtrlShiftGo","followers_url":"https://api.github.com/users/CtrlShiftGo/followers","following_url":"https://api.github.com/users/CtrlShiftGo/following{/other_user}","gists_url":"https://api.github.com/users/CtrlShiftGo/gists{/gist_id}","starred_url":"https://api.github.com/users/CtrlShiftGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CtrlShiftGo/subscriptions","organizations_url":"https://api.github.com/users/CtrlShiftGo/orgs","repos_url":"https://api.github.com/users/CtrlShiftGo/repos","events_url":"https://api.github.com/users/CtrlShiftGo/events{/privacy}","received_events_url":"https://api.github.com/users/CtrlShiftGo/received_events","type":"User","site_admin":false},"repo":{"id":52311649,"name":"utilities","full_name":"CtrlShiftGo/utilities","owner":{"login":"CtrlShiftGo","id":14342738,"avatar_url":"https://avatars.githubusercontent.com/u/14342738?v=3","gravatar_id":"","url":"https://api.github.com/users/CtrlShiftGo","html_url":"https://github.com/CtrlShiftGo","followers_url":"https://api.github.com/users/CtrlShiftGo/followers","following_url":"https://api.github.com/users/CtrlShiftGo/following{/other_user}","gists_url":"https://api.github.com/users/CtrlShiftGo/gists{/gist_id}","starred_url":"https://api.github.com/users/CtrlShiftGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CtrlShiftGo/subscriptions","organizations_url":"https://api.github.com/users/CtrlShiftGo/orgs","repos_url":"https://api.github.com/users/CtrlShiftGo/repos","events_url":"https://api.github.com/users/CtrlShiftGo/events{/privacy}","received_events_url":"https://api.github.com/users/CtrlShiftGo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CtrlShiftGo/utilities","description":"much handy amaze useful","fork":false,"url":"https://api.github.com/repos/CtrlShiftGo/utilities","forks_url":"https://api.github.com/repos/CtrlShiftGo/utilities/forks","keys_url":"https://api.github.com/repos/CtrlShiftGo/utilities/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CtrlShiftGo/utilities/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CtrlShiftGo/utilities/teams","hooks_url":"https://api.github.com/repos/CtrlShiftGo/utilities/hooks","issue_events_url":"https://api.github.com/repos/CtrlShiftGo/utilities/issues/events{/number}","events_url":"https://api.github.com/repos/CtrlShiftGo/utilities/events","assignees_url":"https://api.github.com/repos/CtrlShiftGo/utilities/assignees{/user}","branches_url":"https://api.github.com/repos/CtrlShiftGo/utilities/branches{/branch}","tags_url":"https://api.github.com/repos/CtrlShiftGo/utilities/tags","blobs_url":"https://api.github.com/repos/CtrlShiftGo/utilities/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CtrlShiftGo/utilities/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CtrlShiftGo/utilities/git/refs{/sha}","trees_url":"https://api.github.com/repos/CtrlShiftGo/utilities/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CtrlShiftGo/utilities/statuses/{sha}","languages_url":"https://api.github.com/repos/CtrlShiftGo/utilities/languages","stargazers_url":"https://api.github.com/repos/CtrlShiftGo/utilities/stargazers","contributors_url":"https://api.github.com/repos/CtrlShiftGo/utilities/contributors","subscribers_url":"https://api.github.com/repos/CtrlShiftGo/utilities/subscribers","subscription_url":"https://api.github.com/repos/CtrlShiftGo/utilities/subscription","commits_url":"https://api.github.com/repos/CtrlShiftGo/utilities/commits{/sha}","git_commits_url":"https://api.github.com/repos/CtrlShiftGo/utilities/git/commits{/sha}","comments_url":"https://api.github.com/repos/CtrlShiftGo/utilities/comments{/number}","issue_comment_url":"https://api.github.com/repos/CtrlShiftGo/utilities/issues/comments{/number}","contents_url":"https://api.github.com/repos/CtrlShiftGo/utilities/contents/{+path}","compare_url":"https://api.github.com/repos/CtrlShiftGo/utilities/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CtrlShiftGo/utilities/merges","archive_url":"https://api.github.com/repos/CtrlShiftGo/utilities/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CtrlShiftGo/utilities/downloads","issues_url":"https://api.github.com/repos/CtrlShiftGo/utilities/issues{/number}","pulls_url":"https://api.github.com/repos/CtrlShiftGo/utilities/pulls{/number}","milestones_url":"https://api.github.com/repos/CtrlShiftGo/utilities/milestones{/number}","notifications_url":"https://api.github.com/repos/CtrlShiftGo/utilities/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CtrlShiftGo/utilities/labels{/name}","releases_url":"https://api.github.com/repos/CtrlShiftGo/utilities/releases{/id}","deployments_url":"https://api.github.com/repos/CtrlShiftGo/utilities/deployments","created_at":"2016-02-22T22:43:20Z","updated_at":"2016-04-15T00:45:01Z","pushed_at":"2016-07-02T02:03:25Z","git_url":"git://github.com/CtrlShiftGo/utilities.git","ssh_url":"git@github.com:CtrlShiftGo/utilities.git","clone_url":"https://github.com/CtrlShiftGo/utilities.git","svn_url":"https://github.com/CtrlShiftGo/utilities","homepage":null,"size":19,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CtrlShiftGo/utilities/pulls/13"},"html":{"href":"https://github.com/CtrlShiftGo/utilities/pull/13"},"issue":{"href":"https://api.github.com/repos/CtrlShiftGo/utilities/issues/13"},"comments":{"href":"https://api.github.com/repos/CtrlShiftGo/utilities/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/CtrlShiftGo/utilities/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/CtrlShiftGo/utilities/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CtrlShiftGo/utilities/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/CtrlShiftGo/utilities/statuses/9e1cb65486bb4c74f59bbf7d719a6f13568b60c0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jleung51","id":9059549,"avatar_url":"https://avatars.githubusercontent.com/u/9059549?v=3","gravatar_id":"","url":"https://api.github.com/users/jleung51","html_url":"https://github.com/jleung51","followers_url":"https://api.github.com/users/jleung51/followers","following_url":"https://api.github.com/users/jleung51/following{/other_user}","gists_url":"https://api.github.com/users/jleung51/gists{/gist_id}","starred_url":"https://api.github.com/users/jleung51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleung51/subscriptions","organizations_url":"https://api.github.com/users/jleung51/orgs","repos_url":"https://api.github.com/users/jleung51/repos","events_url":"https://api.github.com/users/jleung51/events{/privacy}","received_events_url":"https://api.github.com/users/jleung51/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"jleung51"}}