{"action":"created","issue":{"url":"https://api.github.com/repos/moment/luxon/issues/238","repository_url":"https://api.github.com/repos/moment/luxon","labels_url":"https://api.github.com/repos/moment/luxon/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/moment/luxon/issues/238/comments","events_url":"https://api.github.com/repos/moment/luxon/issues/238/events","html_url":"https://github.com/moment/luxon/issues/238","id":316211552,"number":238,"title":"Offset formatters 'Z' and 'ZZ' don't work with zone 'UTC'","user":{"login":"tao-cumplido","id":6384563,"avatar_url":"https://avatars3.githubusercontent.com/u/6384563?v=4","gravatar_id":"","url":"https://api.github.com/users/tao-cumplido","html_url":"https://github.com/tao-cumplido","followers_url":"https://api.github.com/users/tao-cumplido/followers","following_url":"https://api.github.com/users/tao-cumplido/following{/other_user}","gists_url":"https://api.github.com/users/tao-cumplido/gists{/gist_id}","starred_url":"https://api.github.com/users/tao-cumplido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tao-cumplido/subscriptions","organizations_url":"https://api.github.com/users/tao-cumplido/orgs","repos_url":"https://api.github.com/users/tao-cumplido/repos","events_url":"https://api.github.com/users/tao-cumplido/events{/privacy}","received_events_url":"https://api.github.com/users/tao-cumplido/received_events","type":"User","site_admin":false},"labels":[{"id":293349088,"url":"https://api.github.com/repos/moment/luxon/labels/issue:%20bug","name":"issue: bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-20T10:18:57Z","updated_at":"2018-04-21T16:41:14Z","closed_at":null,"author_association":"NONE","body":"When I use `setZone('UTC').toFormat('Z ZZ')` the result is `'Z Z'` and not `'+0 +00:00'`.\r\nAs in the other ticket I just opened my workaroaund is to `import IANAZone from 'luxon/src/zones/IANAZone'` and then `setZone(new IANAZone('UTC')).toFormat('Z ZZ')` works as expected."},"comment":{"url":"https://api.github.com/repos/moment/luxon/issues/comments/383311498","html_url":"https://github.com/moment/luxon/issues/238#issuecomment-383311498","issue_url":"https://api.github.com/repos/moment/luxon/issues/238","id":383311498,"user":{"login":"icambron","id":244988,"avatar_url":"https://avatars3.githubusercontent.com/u/244988?v=4","gravatar_id":"","url":"https://api.github.com/users/icambron","html_url":"https://github.com/icambron","followers_url":"https://api.github.com/users/icambron/followers","following_url":"https://api.github.com/users/icambron/following{/other_user}","gists_url":"https://api.github.com/users/icambron/gists{/gist_id}","starred_url":"https://api.github.com/users/icambron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icambron/subscriptions","organizations_url":"https://api.github.com/users/icambron/orgs","repos_url":"https://api.github.com/users/icambron/repos","events_url":"https://api.github.com/users/icambron/events{/privacy}","received_events_url":"https://api.github.com/users/icambron/received_events","type":"User","site_admin":false},"created_at":"2018-04-21T16:41:14Z","updated_at":"2018-04-21T16:41:14Z","author_association":"OWNER","body":"So, it appears I did this on purpose to support the internal callers like `toISO` that want to use Z as an abbreviation for +00:00, but I agree that `toFormat(\"Z\")` should do what it says it does.\r\n\r\nI have it fixed in 7279ef7. I'm a little worried because this is technically a breaking change. I want to think on it a little before releasing it."}}
{"actor":{"display_login":"icambron"}}