{"action":"opened","number":25,"pull_request":{"url":"https://api.github.com/repos/PowerShell/xTimeZone/pulls/25","id":80212511,"html_url":"https://github.com/PowerShell/xTimeZone/pull/25","diff_url":"https://github.com/PowerShell/xTimeZone/pull/25.diff","patch_url":"https://github.com/PowerShell/xTimeZone/pull/25.patch","issue_url":"https://api.github.com/repos/PowerShell/xTimeZone/issues/25","number":25,"state":"open","locked":false,"title":"Convert to use Get/Set-Timezone Cmdlets if available - Fixes #24","user":{"login":"PlagueHO","id":7589164,"avatar_url":"https://avatars.githubusercontent.com/u/7589164?v=3","gravatar_id":"","url":"https://api.github.com/users/PlagueHO","html_url":"https://github.com/PlagueHO","followers_url":"https://api.github.com/users/PlagueHO/followers","following_url":"https://api.github.com/users/PlagueHO/following{/other_user}","gists_url":"https://api.github.com/users/PlagueHO/gists{/gist_id}","starred_url":"https://api.github.com/users/PlagueHO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlagueHO/subscriptions","organizations_url":"https://api.github.com/users/PlagueHO/orgs","repos_url":"https://api.github.com/users/PlagueHO/repos","events_url":"https://api.github.com/users/PlagueHO/events{/privacy}","received_events_url":"https://api.github.com/users/PlagueHO/received_events","type":"User","site_admin":false},"body":"I also cleaned up the code a lot so that the variable names weren't being mixed up (sometimes TimeZoneId was used and sometimes it wasn't - the code was difficult to follow and debug).\r\n\r\nI also improved the unit tests and increased the coverage.\r\n\r\nI also performed a clean up of the code and bought it all up to HQRM standard. So hopefully I've eliminated the technical debt on this resource.\r\n\r\nHere is a list of the changes:\r\n* Add support for Nano Server and WMF5.1 via Get-Timezone/Set-Timezone cmdlets.\r\n* Minor changes to bring make resource ready for HQRM.\r\n* Renamed and reworked functions in TimezoneHelper.psm1 to prevent conflicts with new built-in WMF5.1 Timezone Cmdlets.\r\n* Fixed localization so that failback to en-US if culture specific language files not available.\r\n* Moved code to init C# type into Set-TimeZoneUsingNET functions\r\n* Renamed internal Timezone parameters to TimezoneId to more clearly represent value\r\n","created_at":"2016-08-05T09:13:26Z","updated_at":"2016-08-05T09:13:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PowerShell/xTimeZone/pulls/25/commits","review_comments_url":"https://api.github.com/repos/PowerShell/xTimeZone/pulls/25/comments","review_comment_url":"https://api.github.com/repos/PowerShell/xTimeZone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerShell/xTimeZone/issues/25/comments","statuses_url":"https://api.github.com/repos/PowerShell/xTimeZone/statuses/65aead32e9d40ee6892e92c19ed3a4d1f6617ceb","head":{"label":"PlagueHO:Fix-24/Add-Nano-Server-Support","ref":"Fix-24/Add-Nano-Server-Support","sha":"65aead32e9d40ee6892e92c19ed3a4d1f6617ceb","user":{"login":"PlagueHO","id":7589164,"avatar_url":"https://avatars.githubusercontent.com/u/7589164?v=3","gravatar_id":"","url":"https://api.github.com/users/PlagueHO","html_url":"https://github.com/PlagueHO","followers_url":"https://api.github.com/users/PlagueHO/followers","following_url":"https://api.github.com/users/PlagueHO/following{/other_user}","gists_url":"https://api.github.com/users/PlagueHO/gists{/gist_id}","starred_url":"https://api.github.com/users/PlagueHO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlagueHO/subscriptions","organizations_url":"https://api.github.com/users/PlagueHO/orgs","repos_url":"https://api.github.com/users/PlagueHO/repos","events_url":"https://api.github.com/users/PlagueHO/events{/privacy}","received_events_url":"https://api.github.com/users/PlagueHO/received_events","type":"User","site_admin":false},"repo":{"id":55457543,"name":"xTimeZone","full_name":"PlagueHO/xTimeZone","owner":{"login":"PlagueHO","id":7589164,"avatar_url":"https://avatars.githubusercontent.com/u/7589164?v=3","gravatar_id":"","url":"https://api.github.com/users/PlagueHO","html_url":"https://github.com/PlagueHO","followers_url":"https://api.github.com/users/PlagueHO/followers","following_url":"https://api.github.com/users/PlagueHO/following{/other_user}","gists_url":"https://api.github.com/users/PlagueHO/gists{/gist_id}","starred_url":"https://api.github.com/users/PlagueHO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlagueHO/subscriptions","organizations_url":"https://api.github.com/users/PlagueHO/orgs","repos_url":"https://api.github.com/users/PlagueHO/repos","events_url":"https://api.github.com/users/PlagueHO/events{/privacy}","received_events_url":"https://api.github.com/users/PlagueHO/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PlagueHO/xTimeZone","description":null,"fork":true,"url":"https://api.github.com/repos/PlagueHO/xTimeZone","forks_url":"https://api.github.com/repos/PlagueHO/xTimeZone/forks","keys_url":"https://api.github.com/repos/PlagueHO/xTimeZone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PlagueHO/xTimeZone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PlagueHO/xTimeZone/teams","hooks_url":"https://api.github.com/repos/PlagueHO/xTimeZone/hooks","issue_events_url":"https://api.github.com/repos/PlagueHO/xTimeZone/issues/events{/number}","events_url":"https://api.github.com/repos/PlagueHO/xTimeZone/events","assignees_url":"https://api.github.com/repos/PlagueHO/xTimeZone/assignees{/user}","branches_url":"https://api.github.com/repos/PlagueHO/xTimeZone/branches{/branch}","tags_url":"https://api.github.com/repos/PlagueHO/xTimeZone/tags","blobs_url":"https://api.github.com/repos/PlagueHO/xTimeZone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PlagueHO/xTimeZone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PlagueHO/xTimeZone/git/refs{/sha}","trees_url":"https://api.github.com/repos/PlagueHO/xTimeZone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PlagueHO/xTimeZone/statuses/{sha}","languages_url":"https://api.github.com/repos/PlagueHO/xTimeZone/languages","stargazers_url":"https://api.github.com/repos/PlagueHO/xTimeZone/stargazers","contributors_url":"https://api.github.com/repos/PlagueHO/xTimeZone/contributors","subscribers_url":"https://api.github.com/repos/PlagueHO/xTimeZone/subscribers","subscription_url":"https://api.github.com/repos/PlagueHO/xTimeZone/subscription","commits_url":"https://api.github.com/repos/PlagueHO/xTimeZone/commits{/sha}","git_commits_url":"https://api.github.com/repos/PlagueHO/xTimeZone/git/commits{/sha}","comments_url":"https://api.github.com/repos/PlagueHO/xTimeZone/comments{/number}","issue_comment_url":"https://api.github.com/repos/PlagueHO/xTimeZone/issues/comments{/number}","contents_url":"https://api.github.com/repos/PlagueHO/xTimeZone/contents/{+path}","compare_url":"https://api.github.com/repos/PlagueHO/xTimeZone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PlagueHO/xTimeZone/merges","archive_url":"https://api.github.com/repos/PlagueHO/xTimeZone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PlagueHO/xTimeZone/downloads","issues_url":"https://api.github.com/repos/PlagueHO/xTimeZone/issues{/number}","pulls_url":"https://api.github.com/repos/PlagueHO/xTimeZone/pulls{/number}","milestones_url":"https://api.github.com/repos/PlagueHO/xTimeZone/milestones{/number}","notifications_url":"https://api.github.com/repos/PlagueHO/xTimeZone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PlagueHO/xTimeZone/labels{/name}","releases_url":"https://api.github.com/repos/PlagueHO/xTimeZone/releases{/id}","deployments_url":"https://api.github.com/repos/PlagueHO/xTimeZone/deployments","created_at":"2016-04-05T01:20:14Z","updated_at":"2016-04-05T01:20:15Z","pushed_at":"2016-08-05T09:11:17Z","git_url":"git://github.com/PlagueHO/xTimeZone.git","ssh_url":"git@github.com:PlagueHO/xTimeZone.git","clone_url":"https://github.com/PlagueHO/xTimeZone.git","svn_url":"https://github.com/PlagueHO/xTimeZone","homepage":null,"size":54,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","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":"dev"}},"base":{"label":"PowerShell:dev","ref":"dev","sha":"d340fe97914f51de0d81aead8d533256a3b1e3b3","user":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"repo":{"id":34022264,"name":"xTimeZone","full_name":"PowerShell/xTimeZone","owner":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerShell/xTimeZone","description":null,"fork":false,"url":"https://api.github.com/repos/PowerShell/xTimeZone","forks_url":"https://api.github.com/repos/PowerShell/xTimeZone/forks","keys_url":"https://api.github.com/repos/PowerShell/xTimeZone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerShell/xTimeZone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerShell/xTimeZone/teams","hooks_url":"https://api.github.com/repos/PowerShell/xTimeZone/hooks","issue_events_url":"https://api.github.com/repos/PowerShell/xTimeZone/issues/events{/number}","events_url":"https://api.github.com/repos/PowerShell/xTimeZone/events","assignees_url":"https://api.github.com/repos/PowerShell/xTimeZone/assignees{/user}","branches_url":"https://api.github.com/repos/PowerShell/xTimeZone/branches{/branch}","tags_url":"https://api.github.com/repos/PowerShell/xTimeZone/tags","blobs_url":"https://api.github.com/repos/PowerShell/xTimeZone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerShell/xTimeZone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerShell/xTimeZone/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerShell/xTimeZone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerShell/xTimeZone/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerShell/xTimeZone/languages","stargazers_url":"https://api.github.com/repos/PowerShell/xTimeZone/stargazers","contributors_url":"https://api.github.com/repos/PowerShell/xTimeZone/contributors","subscribers_url":"https://api.github.com/repos/PowerShell/xTimeZone/subscribers","subscription_url":"https://api.github.com/repos/PowerShell/xTimeZone/subscription","commits_url":"https://api.github.com/repos/PowerShell/xTimeZone/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerShell/xTimeZone/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerShell/xTimeZone/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerShell/xTimeZone/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerShell/xTimeZone/contents/{+path}","compare_url":"https://api.github.com/repos/PowerShell/xTimeZone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerShell/xTimeZone/merges","archive_url":"https://api.github.com/repos/PowerShell/xTimeZone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerShell/xTimeZone/downloads","issues_url":"https://api.github.com/repos/PowerShell/xTimeZone/issues{/number}","pulls_url":"https://api.github.com/repos/PowerShell/xTimeZone/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerShell/xTimeZone/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerShell/xTimeZone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerShell/xTimeZone/labels{/name}","releases_url":"https://api.github.com/repos/PowerShell/xTimeZone/releases{/id}","deployments_url":"https://api.github.com/repos/PowerShell/xTimeZone/deployments","created_at":"2015-04-15T22:43:09Z","updated_at":"2016-07-19T02:42:40Z","pushed_at":"2016-07-05T19:13:35Z","git_url":"git://github.com/PowerShell/xTimeZone.git","ssh_url":"git@github.com:PowerShell/xTimeZone.git","clone_url":"https://github.com/PowerShell/xTimeZone.git","svn_url":"https://github.com/PowerShell/xTimeZone","homepage":null,"size":59,"stargazers_count":4,"watchers_count":4,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":2,"forks":13,"open_issues":2,"watchers":4,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerShell/xTimeZone/pulls/25"},"html":{"href":"https://github.com/PowerShell/xTimeZone/pull/25"},"issue":{"href":"https://api.github.com/repos/PowerShell/xTimeZone/issues/25"},"comments":{"href":"https://api.github.com/repos/PowerShell/xTimeZone/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerShell/xTimeZone/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerShell/xTimeZone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerShell/xTimeZone/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/PowerShell/xTimeZone/statuses/65aead32e9d40ee6892e92c19ed3a4d1f6617ceb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":298,"deletions":204,"changed_files":7}}
{"actor":{"display_login":"PlagueHO"}}