{"action":"created","issue":{"url":"https://api.github.com/repos/Atreidae/New-CsRgsAustralianHolidayList/issues/17","repository_url":"https://api.github.com/repos/Atreidae/New-CsRgsAustralianHolidayList","labels_url":"https://api.github.com/repos/Atreidae/New-CsRgsAustralianHolidayList/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/Atreidae/New-CsRgsAustralianHolidayList/issues/17/comments","events_url":"https://api.github.com/repos/Atreidae/New-CsRgsAustralianHolidayList/issues/17/events","html_url":"https://github.com/Atreidae/New-CsRgsAustralianHolidayList/issues/17","id":379533966,"node_id":"MDU6SXNzdWUzNzk1MzM5NjY=","number":17,"title":"Script changes culture","user":{"login":"shivtorov","id":31003608,"node_id":"MDQ6VXNlcjMxMDAzNjA4","avatar_url":"https://avatars0.githubusercontent.com/u/31003608?v=4","gravatar_id":"","url":"https://api.github.com/users/shivtorov","html_url":"https://github.com/shivtorov","followers_url":"https://api.github.com/users/shivtorov/followers","following_url":"https://api.github.com/users/shivtorov/following{/other_user}","gists_url":"https://api.github.com/users/shivtorov/gists{/gist_id}","starred_url":"https://api.github.com/users/shivtorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivtorov/subscriptions","organizations_url":"https://api.github.com/users/shivtorov/orgs","repos_url":"https://api.github.com/users/shivtorov/repos","events_url":"https://api.github.com/users/shivtorov/events{/privacy}","received_events_url":"https://api.github.com/users/shivtorov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-11T15:35:15Z","updated_at":"2018-11-11T22:16:15Z","closed_at":null,"author_association":"NONE","body":"OMG! The script changes system culture settings!!!\r\n\r\nif you want correct \"text-to-date\" conversion, just use ISO 8601 representation. \r\nit will be ALWAYS correctly interpreted regardsless of culture settings.\r\nit covers both \"month/day\" date problem and \"12/24\" hours problem.\r\n\r\nSee full format example (with milliseconds and timezone):\r\n`Get-Date -Format \"o\"`\r\n\r\nFor the purpose of this script, a shortened version of datetime string will do the job:\r\nfrom **\"2019-01-29T00:00:00\"** to **\"2019-01-29-T23:59:59\"**\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Atreidae/New-CsRgsAustralianHolidayList/issues/comments/437710244","html_url":"https://github.com/Atreidae/New-CsRgsAustralianHolidayList/issues/17#issuecomment-437710244","issue_url":"https://api.github.com/repos/Atreidae/New-CsRgsAustralianHolidayList/issues/17","id":437710244,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzcxMDI0NA==","user":{"login":"shivtorov","id":31003608,"node_id":"MDQ6VXNlcjMxMDAzNjA4","avatar_url":"https://avatars0.githubusercontent.com/u/31003608?v=4","gravatar_id":"","url":"https://api.github.com/users/shivtorov","html_url":"https://github.com/shivtorov","followers_url":"https://api.github.com/users/shivtorov/followers","following_url":"https://api.github.com/users/shivtorov/following{/other_user}","gists_url":"https://api.github.com/users/shivtorov/gists{/gist_id}","starred_url":"https://api.github.com/users/shivtorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivtorov/subscriptions","organizations_url":"https://api.github.com/users/shivtorov/orgs","repos_url":"https://api.github.com/users/shivtorov/repos","events_url":"https://api.github.com/users/shivtorov/events{/privacy}","received_events_url":"https://api.github.com/users/shivtorov/received_events","type":"User","site_admin":false},"created_at":"2018-11-11T22:16:15Z","updated_at":"2018-11-11T22:16:15Z","author_association":"NONE","body":"the culture-specific code (requires EN-US, or similar) [from URL in your comment]:\r\n`$christmasDay = New-CsRgsHoliday -StartDate \"12/25/2013 12:00 AM\" -EndDate \"12/26/2013 12:00 AM\" -Name \"Christmas Day\"`\r\n\r\nculture agnostic code (works for ANY regional settings):\r\n`$christmasDay = New-CsRgsHoliday -StartDate \"2013-12-25T00:00:00\" -EndDate \"2013-12-25T23:59:59\" -Name \"Christmas Day\"`"}}
{"actor":{"display_login":"shivtorov"}}