{"action":"created","issue":{"url":"https://api.github.com/repos/ecederstrand/exchangelib/issues/519","repository_url":"https://api.github.com/repos/ecederstrand/exchangelib","labels_url":"https://api.github.com/repos/ecederstrand/exchangelib/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/ecederstrand/exchangelib/issues/519/comments","events_url":"https://api.github.com/repos/ecederstrand/exchangelib/issues/519/events","html_url":"https://github.com/ecederstrand/exchangelib/issues/519","id":386767910,"node_id":"MDU6SXNzdWUzODY3Njc5MTA=","number":519,"title":"event timezones getting simplified incorrectly","user":{"login":"mcv21","id":4921855,"node_id":"MDQ6VXNlcjQ5MjE4NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/4921855?v=4","gravatar_id":"","url":"https://api.github.com/users/mcv21","html_url":"https://github.com/mcv21","followers_url":"https://api.github.com/users/mcv21/followers","following_url":"https://api.github.com/users/mcv21/following{/other_user}","gists_url":"https://api.github.com/users/mcv21/gists{/gist_id}","starred_url":"https://api.github.com/users/mcv21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcv21/subscriptions","organizations_url":"https://api.github.com/users/mcv21/orgs","repos_url":"https://api.github.com/users/mcv21/repos","events_url":"https://api.github.com/users/mcv21/events{/privacy}","received_events_url":"https://api.github.com/users/mcv21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-12-03T11:09:37Z","updated_at":"2018-12-04T08:03:12Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI might be driving it wrong, but exchangelib is over-simplifying event timezones in a way that is causing breakage.\r\n\r\nXML from server includes:\r\n```XML\r\n<t:StartTimeZone Name=\"(UTC+00:00) Dublin, Edinburgh, Lisbon, London\" Id=\"GMT Standard Time\">\r\n```\r\nbut that appears in the python object as GMT:\r\n```python\r\n>>> debugtest._start_timezone\r\n<StaticTzInfo 'GMT'>\r\n```\r\nWhereas I actually need something like \"Europe/London\". This is important because a recurring event that crosses a DST boundary is different if it's \"08:00 GMT\" or \"08:00 Europe/London\".\r\n\r\nThis is with python3 and exchangelib HEAD from October this year (ac4d84c20dcded85194e9a58d57552a76d745a9a)"},"comment":{"url":"https://api.github.com/repos/ecederstrand/exchangelib/issues/comments/444006889","html_url":"https://github.com/ecederstrand/exchangelib/issues/519#issuecomment-444006889","issue_url":"https://api.github.com/repos/ecederstrand/exchangelib/issues/519","id":444006889,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDAwNjg4OQ==","user":{"login":"ecederstrand","id":559151,"node_id":"MDQ6VXNlcjU1OTE1MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/559151?v=4","gravatar_id":"","url":"https://api.github.com/users/ecederstrand","html_url":"https://github.com/ecederstrand","followers_url":"https://api.github.com/users/ecederstrand/followers","following_url":"https://api.github.com/users/ecederstrand/following{/other_user}","gists_url":"https://api.github.com/users/ecederstrand/gists{/gist_id}","starred_url":"https://api.github.com/users/ecederstrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecederstrand/subscriptions","organizations_url":"https://api.github.com/users/ecederstrand/orgs","repos_url":"https://api.github.com/users/ecederstrand/repos","events_url":"https://api.github.com/users/ecederstrand/events{/privacy}","received_events_url":"https://api.github.com/users/ecederstrand/received_events","type":"User","site_admin":false},"created_at":"2018-12-04T08:03:12Z","updated_at":"2018-12-04T08:03:12Z","author_association":"OWNER","body":"Thanks for being insistent! I'm finally convinced :-)\r\n\r\nI wish I didn't have to waste so much brain space on timezones. I found some more fun facts about GMT Standard Time and the DST/no-DST debacle: https://stackoverflow.com/questions/2292334/difference-between-utc-and-gmt-standard-time-in-net\r\n\r\nI think we can fix the problem by removing this line: https://github.com/ecederstrand/exchangelib/blob/ec8bfebba94233f6c946a072dc5ab1b95c0c3f84/exchangelib/winzone.py#L493\r\n\r\nThat will cause https://github.com/ecederstrand/exchangelib/blob/master/exchangelib/fields.py#L609 to return a random region/country timezone matching GMT Standard Time, which is the best we can do, I believe.\r\n\r\nAccording to the commit log, the GMT Standard Time -> GMT translation was once part of the CLDR database. It no longer is."}}
{"actor":{"display_login":"ecederstrand"}}