{"action":"closed","number":171,"pull_request":{"url":"https://api.github.com/repos/kvangent/PokeAlarm/pulls/171","id":83000681,"html_url":"https://github.com/kvangent/PokeAlarm/pull/171","diff_url":"https://github.com/kvangent/PokeAlarm/pull/171.diff","patch_url":"https://github.com/kvangent/PokeAlarm/pull/171.patch","issue_url":"https://api.github.com/repos/kvangent/PokeAlarm/issues/171","number":171,"state":"closed","locked":false,"title":"Support sending notifications in a specified timezone.","user":{"login":"ravishivt","id":4229409,"avatar_url":"https://avatars.githubusercontent.com/u/4229409?v=3","gravatar_id":"","url":"https://api.github.com/users/ravishivt","html_url":"https://github.com/ravishivt","followers_url":"https://api.github.com/users/ravishivt/followers","following_url":"https://api.github.com/users/ravishivt/following{/other_user}","gists_url":"https://api.github.com/users/ravishivt/gists{/gist_id}","starred_url":"https://api.github.com/users/ravishivt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravishivt/subscriptions","organizations_url":"https://api.github.com/users/ravishivt/orgs","repos_url":"https://api.github.com/users/ravishivt/repos","events_url":"https://api.github.com/users/ravishivt/events{/privacy}","received_events_url":"https://api.github.com/users/ravishivt/received_events","type":"User","site_admin":false},"body":"<!--- PULL REQUESTS CREATED NOT USING THE BELOW TEMPLATE WILL BE CLOSED WITHOUT RESPONSE --->\r\n<!--- PULL REQUESTS CREATED NOT USING THE BELOW TEMPLATE WILL BE CLOSED WITHOUT RESPONSE --->\r\n<!--- PULL REQUESTS CREATED NOT USING THE BELOW TEMPLATE WILL BE CLOSED WITHOUT RESPONSE --->\r\n<!--- PULL REQUESTS CREATED NOT USING THE BELOW TEMPLATE WILL BE CLOSED WITHOUT RESPONSE --->\r\n\r\n## Description\r\n<!--- Describe your changes in detail -->\r\nThis adds a new CLI option, -tz or --timezone, that sends notifications in that timezone instead of always using UTC formatted dates.  If an option isn't specified, it defaults to \"UTC\".  A list of valid timezone strings are available at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.\r\n\r\nOne related minor changes is adding seconds to time_12 to be consistent with time_24.\r\n\r\n## How Has This Been Tested?\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\nTested specifying a timezone and tested again without.\r\npython runwebhook.py -H 0.0.0.0 -P 4002 --config alarms.TAMARACK.json -k \"XXXX\" -tz \"America/Los_Angeles\"\r\n\r\n## Screenshots (if appropriate):\r\n![image](https://cloud.githubusercontent.com/assets/4229409/18030487/413c503a-6c6c-11e6-8b22-7ee1f149b458.png)\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Wiki Update\r\n<!--- Please create a Wiki page (or snippet) desciribing how to use your changes --->\r\n<!--- Please keep them simple and user friendly                                  --->\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the code style of this project.\r\n- [x] My change requires a change to the documentation.\r\n- [] I have updated the documentation accordingly.\r\n","created_at":"2016-08-27T22:46:00Z","updated_at":"2016-08-30T02:03:23Z","closed_at":"2016-08-30T02:03:22Z","merged_at":"2016-08-30T02:03:22Z","merge_commit_sha":"45f5ae3b644fa0d5adace7797e50ad5c6351f427","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kvangent/PokeAlarm/pulls/171/commits","review_comments_url":"https://api.github.com/repos/kvangent/PokeAlarm/pulls/171/comments","review_comment_url":"https://api.github.com/repos/kvangent/PokeAlarm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kvangent/PokeAlarm/issues/171/comments","statuses_url":"https://api.github.com/repos/kvangent/PokeAlarm/statuses/5124acec55c32e2df9333c8da2fcd236ddeec711","head":{"label":"ravishivt:feature/timezone_cli_option","ref":"feature/timezone_cli_option","sha":"5124acec55c32e2df9333c8da2fcd236ddeec711","user":{"login":"ravishivt","id":4229409,"avatar_url":"https://avatars.githubusercontent.com/u/4229409?v=3","gravatar_id":"","url":"https://api.github.com/users/ravishivt","html_url":"https://github.com/ravishivt","followers_url":"https://api.github.com/users/ravishivt/followers","following_url":"https://api.github.com/users/ravishivt/following{/other_user}","gists_url":"https://api.github.com/users/ravishivt/gists{/gist_id}","starred_url":"https://api.github.com/users/ravishivt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravishivt/subscriptions","organizations_url":"https://api.github.com/users/ravishivt/orgs","repos_url":"https://api.github.com/users/ravishivt/repos","events_url":"https://api.github.com/users/ravishivt/events{/privacy}","received_events_url":"https://api.github.com/users/ravishivt/received_events","type":"User","site_admin":false},"repo":{"id":66338029,"name":"PokeAlarm","full_name":"ravishivt/PokeAlarm","owner":{"login":"ravishivt","id":4229409,"avatar_url":"https://avatars.githubusercontent.com/u/4229409?v=3","gravatar_id":"","url":"https://api.github.com/users/ravishivt","html_url":"https://github.com/ravishivt","followers_url":"https://api.github.com/users/ravishivt/followers","following_url":"https://api.github.com/users/ravishivt/following{/other_user}","gists_url":"https://api.github.com/users/ravishivt/gists{/gist_id}","starred_url":"https://api.github.com/users/ravishivt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravishivt/subscriptions","organizations_url":"https://api.github.com/users/ravishivt/orgs","repos_url":"https://api.github.com/users/ravishivt/repos","events_url":"https://api.github.com/users/ravishivt/events{/privacy}","received_events_url":"https://api.github.com/users/ravishivt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ravishivt/PokeAlarm","description":null,"fork":true,"url":"https://api.github.com/repos/ravishivt/PokeAlarm","forks_url":"https://api.github.com/repos/ravishivt/PokeAlarm/forks","keys_url":"https://api.github.com/repos/ravishivt/PokeAlarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ravishivt/PokeAlarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ravishivt/PokeAlarm/teams","hooks_url":"https://api.github.com/repos/ravishivt/PokeAlarm/hooks","issue_events_url":"https://api.github.com/repos/ravishivt/PokeAlarm/issues/events{/number}","events_url":"https://api.github.com/repos/ravishivt/PokeAlarm/events","assignees_url":"https://api.github.com/repos/ravishivt/PokeAlarm/assignees{/user}","branches_url":"https://api.github.com/repos/ravishivt/PokeAlarm/branches{/branch}","tags_url":"https://api.github.com/repos/ravishivt/PokeAlarm/tags","blobs_url":"https://api.github.com/repos/ravishivt/PokeAlarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ravishivt/PokeAlarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ravishivt/PokeAlarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/ravishivt/PokeAlarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ravishivt/PokeAlarm/statuses/{sha}","languages_url":"https://api.github.com/repos/ravishivt/PokeAlarm/languages","stargazers_url":"https://api.github.com/repos/ravishivt/PokeAlarm/stargazers","contributors_url":"https://api.github.com/repos/ravishivt/PokeAlarm/contributors","subscribers_url":"https://api.github.com/repos/ravishivt/PokeAlarm/subscribers","subscription_url":"https://api.github.com/repos/ravishivt/PokeAlarm/subscription","commits_url":"https://api.github.com/repos/ravishivt/PokeAlarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/ravishivt/PokeAlarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/ravishivt/PokeAlarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/ravishivt/PokeAlarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/ravishivt/PokeAlarm/contents/{+path}","compare_url":"https://api.github.com/repos/ravishivt/PokeAlarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ravishivt/PokeAlarm/merges","archive_url":"https://api.github.com/repos/ravishivt/PokeAlarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ravishivt/PokeAlarm/downloads","issues_url":"https://api.github.com/repos/ravishivt/PokeAlarm/issues{/number}","pulls_url":"https://api.github.com/repos/ravishivt/PokeAlarm/pulls{/number}","milestones_url":"https://api.github.com/repos/ravishivt/PokeAlarm/milestones{/number}","notifications_url":"https://api.github.com/repos/ravishivt/PokeAlarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ravishivt/PokeAlarm/labels{/name}","releases_url":"https://api.github.com/repos/ravishivt/PokeAlarm/releases{/id}","deployments_url":"https://api.github.com/repos/ravishivt/PokeAlarm/deployments","created_at":"2016-08-23T06:04:57Z","updated_at":"2016-08-23T06:04:58Z","pushed_at":"2016-08-28T20:23:31Z","git_url":"git://github.com/ravishivt/PokeAlarm.git","ssh_url":"git@github.com:ravishivt/PokeAlarm.git","clone_url":"https://github.com/ravishivt/PokeAlarm.git","svn_url":"https://github.com/ravishivt/PokeAlarm","homepage":null,"size":2765,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"kvangent:master","ref":"master","sha":"d1282fa002f4f3cd8503fbd8dae5189a5b590075","user":{"login":"kvangent","id":10712294,"avatar_url":"https://avatars.githubusercontent.com/u/10712294?v=3","gravatar_id":"","url":"https://api.github.com/users/kvangent","html_url":"https://github.com/kvangent","followers_url":"https://api.github.com/users/kvangent/followers","following_url":"https://api.github.com/users/kvangent/following{/other_user}","gists_url":"https://api.github.com/users/kvangent/gists{/gist_id}","starred_url":"https://api.github.com/users/kvangent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvangent/subscriptions","organizations_url":"https://api.github.com/users/kvangent/orgs","repos_url":"https://api.github.com/users/kvangent/repos","events_url":"https://api.github.com/users/kvangent/events{/privacy}","received_events_url":"https://api.github.com/users/kvangent/received_events","type":"User","site_admin":false},"repo":{"id":64392484,"name":"PokeAlarm","full_name":"kvangent/PokeAlarm","owner":{"login":"kvangent","id":10712294,"avatar_url":"https://avatars.githubusercontent.com/u/10712294?v=3","gravatar_id":"","url":"https://api.github.com/users/kvangent","html_url":"https://github.com/kvangent","followers_url":"https://api.github.com/users/kvangent/followers","following_url":"https://api.github.com/users/kvangent/following{/other_user}","gists_url":"https://api.github.com/users/kvangent/gists{/gist_id}","starred_url":"https://api.github.com/users/kvangent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvangent/subscriptions","organizations_url":"https://api.github.com/users/kvangent/orgs","repos_url":"https://api.github.com/users/kvangent/repos","events_url":"https://api.github.com/users/kvangent/events{/privacy}","received_events_url":"https://api.github.com/users/kvangent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kvangent/PokeAlarm","description":null,"fork":false,"url":"https://api.github.com/repos/kvangent/PokeAlarm","forks_url":"https://api.github.com/repos/kvangent/PokeAlarm/forks","keys_url":"https://api.github.com/repos/kvangent/PokeAlarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kvangent/PokeAlarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kvangent/PokeAlarm/teams","hooks_url":"https://api.github.com/repos/kvangent/PokeAlarm/hooks","issue_events_url":"https://api.github.com/repos/kvangent/PokeAlarm/issues/events{/number}","events_url":"https://api.github.com/repos/kvangent/PokeAlarm/events","assignees_url":"https://api.github.com/repos/kvangent/PokeAlarm/assignees{/user}","branches_url":"https://api.github.com/repos/kvangent/PokeAlarm/branches{/branch}","tags_url":"https://api.github.com/repos/kvangent/PokeAlarm/tags","blobs_url":"https://api.github.com/repos/kvangent/PokeAlarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kvangent/PokeAlarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kvangent/PokeAlarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/kvangent/PokeAlarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kvangent/PokeAlarm/statuses/{sha}","languages_url":"https://api.github.com/repos/kvangent/PokeAlarm/languages","stargazers_url":"https://api.github.com/repos/kvangent/PokeAlarm/stargazers","contributors_url":"https://api.github.com/repos/kvangent/PokeAlarm/contributors","subscribers_url":"https://api.github.com/repos/kvangent/PokeAlarm/subscribers","subscription_url":"https://api.github.com/repos/kvangent/PokeAlarm/subscription","commits_url":"https://api.github.com/repos/kvangent/PokeAlarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/kvangent/PokeAlarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/kvangent/PokeAlarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/kvangent/PokeAlarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/kvangent/PokeAlarm/contents/{+path}","compare_url":"https://api.github.com/repos/kvangent/PokeAlarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kvangent/PokeAlarm/merges","archive_url":"https://api.github.com/repos/kvangent/PokeAlarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kvangent/PokeAlarm/downloads","issues_url":"https://api.github.com/repos/kvangent/PokeAlarm/issues{/number}","pulls_url":"https://api.github.com/repos/kvangent/PokeAlarm/pulls{/number}","milestones_url":"https://api.github.com/repos/kvangent/PokeAlarm/milestones{/number}","notifications_url":"https://api.github.com/repos/kvangent/PokeAlarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kvangent/PokeAlarm/labels{/name}","releases_url":"https://api.github.com/repos/kvangent/PokeAlarm/releases{/id}","deployments_url":"https://api.github.com/repos/kvangent/PokeAlarm/deployments","created_at":"2016-07-28T12:08:26Z","updated_at":"2016-08-29T20:01:04Z","pushed_at":"2016-08-30T02:03:22Z","git_url":"git://github.com/kvangent/PokeAlarm.git","ssh_url":"git@github.com:kvangent/PokeAlarm.git","clone_url":"https://github.com/kvangent/PokeAlarm.git","svn_url":"https://github.com/kvangent/PokeAlarm","homepage":null,"size":2902,"stargazers_count":149,"watchers_count":149,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":8,"forks":67,"open_issues":8,"watchers":149,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kvangent/PokeAlarm/pulls/171"},"html":{"href":"https://github.com/kvangent/PokeAlarm/pull/171"},"issue":{"href":"https://api.github.com/repos/kvangent/PokeAlarm/issues/171"},"comments":{"href":"https://api.github.com/repos/kvangent/PokeAlarm/issues/171/comments"},"review_comments":{"href":"https://api.github.com/repos/kvangent/PokeAlarm/pulls/171/comments"},"review_comment":{"href":"https://api.github.com/repos/kvangent/PokeAlarm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kvangent/PokeAlarm/pulls/171/commits"},"statuses":{"href":"https://api.github.com/repos/kvangent/PokeAlarm/statuses/5124acec55c32e2df9333c8da2fcd236ddeec711"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kvangent","id":10712294,"avatar_url":"https://avatars.githubusercontent.com/u/10712294?v=3","gravatar_id":"","url":"https://api.github.com/users/kvangent","html_url":"https://github.com/kvangent","followers_url":"https://api.github.com/users/kvangent/followers","following_url":"https://api.github.com/users/kvangent/following{/other_user}","gists_url":"https://api.github.com/users/kvangent/gists{/gist_id}","starred_url":"https://api.github.com/users/kvangent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvangent/subscriptions","organizations_url":"https://api.github.com/users/kvangent/orgs","repos_url":"https://api.github.com/users/kvangent/repos","events_url":"https://api.github.com/users/kvangent/events{/privacy}","received_events_url":"https://api.github.com/users/kvangent/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":4,"additions":18,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"kvangent"}}