{"action":"created","issue":{"url":"https://api.github.com/repos/codebar/planner/issues/559","repository_url":"https://api.github.com/repos/codebar/planner","labels_url":"https://api.github.com/repos/codebar/planner/issues/559/labels{/name}","comments_url":"https://api.github.com/repos/codebar/planner/issues/559/comments","events_url":"https://api.github.com/repos/codebar/planner/issues/559/events","html_url":"https://github.com/codebar/planner/issues/559","id":241053594,"number":559,"title":"Allow different timezone for chapters throughout website","user":{"login":"KimberleyCook","id":2683270,"avatar_url":"https://avatars3.githubusercontent.com/u/2683270?v=4","gravatar_id":"","url":"https://api.github.com/users/KimberleyCook","html_url":"https://github.com/KimberleyCook","followers_url":"https://api.github.com/users/KimberleyCook/followers","following_url":"https://api.github.com/users/KimberleyCook/following{/other_user}","gists_url":"https://api.github.com/users/KimberleyCook/gists{/gist_id}","starred_url":"https://api.github.com/users/KimberleyCook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KimberleyCook/subscriptions","organizations_url":"https://api.github.com/users/KimberleyCook/orgs","repos_url":"https://api.github.com/users/KimberleyCook/repos","events_url":"https://api.github.com/users/KimberleyCook/events{/privacy}","received_events_url":"https://api.github.com/users/KimberleyCook/received_events","type":"User","site_admin":false},"labels":[{"id":61839907,"url":"https://api.github.com/repos/codebar/planner/labels/bug","name":"bug","color":"e70b41","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-06T18:59:02Z","updated_at":"2017-07-24T14:45:53Z","closed_at":null,"body":"There is a bug when running events outside UK timezone where the website thinks an event is over and blocks RSVPs and editing the event.\r\n\r\n_I think_  the way to solve this is have an extra field in the admin area of a chapter where we set a timezone. Then use this timezone for all future events linked to that chapter."},"comment":{"url":"https://api.github.com/repos/codebar/planner/issues/comments/317446023","html_url":"https://github.com/codebar/planner/issues/559#issuecomment-317446023","issue_url":"https://api.github.com/repos/codebar/planner/issues/559","id":317446023,"user":{"login":"tomafro","id":1287,"avatar_url":"https://avatars3.githubusercontent.com/u/1287?v=4","gravatar_id":"","url":"https://api.github.com/users/tomafro","html_url":"https://github.com/tomafro","followers_url":"https://api.github.com/users/tomafro/followers","following_url":"https://api.github.com/users/tomafro/following{/other_user}","gists_url":"https://api.github.com/users/tomafro/gists{/gist_id}","starred_url":"https://api.github.com/users/tomafro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomafro/subscriptions","organizations_url":"https://api.github.com/users/tomafro/orgs","repos_url":"https://api.github.com/users/tomafro/repos","events_url":"https://api.github.com/users/tomafro/events{/privacy}","received_events_url":"https://api.github.com/users/tomafro/received_events","type":"User","site_admin":false},"created_at":"2017-07-24T14:45:53Z","updated_at":"2017-07-24T14:45:53Z","body":"Thanks for the extra info. I think I understand the problem a bit more now, but as I've only spent an hour looking at the codebase, I could well be wrong, so take all this with a pinch of salt!\r\n\r\nHere's what I think needs fixing. It won't be that easy.\r\n\r\n- Events should be stored at the time they take place in a single timezone, preferably UTC. So an event happening at 8:30pm on 24th July in London would be stored as `2017-07-24 19:30:00 UTC` while an event at 8:30pm in New York would be `2017-07-25 00:30:00 UTC`. Right now I think all times are stored in London time, and if an event is in New York it is still stored as though it happened at 8:30pm in London. This means finding past and future events doesn't always work.\r\n\r\n- Events dates and times should be translated and displayed in the time zone of the place they occur. If times are stored in UTC, they must be translated when viewing or they won't be user-friendly. To do this, a time-zone needs to be added to the Chapter (or maybe the venue?) and used whenever displaying events.\r\n\r\nI may be able to help with this next weekend, but not before then."}}
{"actor":{"display_login":"tomafro"}}