{"action":"created","issue":{"url":"https://api.github.com/repos/cozy/cozy-calendar/issues/600","repository_url":"https://api.github.com/repos/cozy/cozy-calendar","labels_url":"https://api.github.com/repos/cozy/cozy-calendar/issues/600/labels{/name}","comments_url":"https://api.github.com/repos/cozy/cozy-calendar/issues/600/comments","events_url":"https://api.github.com/repos/cozy/cozy-calendar/issues/600/events","html_url":"https://github.com/cozy/cozy-calendar/issues/600","id":179342492,"number":600,"title":"Calendar does not seem to be using local timezone","user":{"login":"Phyks","id":3856586,"avatar_url":"https://avatars.githubusercontent.com/u/3856586?v=3","gravatar_id":"","url":"https://api.github.com/users/Phyks","html_url":"https://github.com/Phyks","followers_url":"https://api.github.com/users/Phyks/followers","following_url":"https://api.github.com/users/Phyks/following{/other_user}","gists_url":"https://api.github.com/users/Phyks/gists{/gist_id}","starred_url":"https://api.github.com/users/Phyks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phyks/subscriptions","organizations_url":"https://api.github.com/users/Phyks/orgs","repos_url":"https://api.github.com/users/Phyks/repos","events_url":"https://api.github.com/users/Phyks/events{/privacy}","received_events_url":"https://api.github.com/users/Phyks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-26T21:31:27Z","updated_at":"2016-09-30T15:43:40Z","closed_at":null,"body":"Hi,\r\n\r\nI have set events in my calendar on my Android phone (using DavDroid + caldav).  The events are correctly saved on my phone, with the right time, in the \"UTC-4\" timezone (NY timezone).\r\n\r\nWhen going online on my Cozy, the events are correctly displayed, at the correct time, except they are displayed in UTC+2 timezone (Paris timezone). That is, an event at 8 o'clock tomorrow is displayed at 14.\r\n\r\nHowever, my system should be correctly configured to use the NY timezone at the moment, that is\r\n\r\n```javascript\r\n>>> new Date().getTimezoneOffset();\r\n240\r\n```\r\n\r\nSo Cozy seems to be handling correctly the various timezones in an event, but the render does not seem to make use of the user's local timezone."},"comment":{"url":"https://api.github.com/repos/cozy/cozy-calendar/issues/comments/250778890","html_url":"https://github.com/cozy/cozy-calendar/issues/600#issuecomment-250778890","issue_url":"https://api.github.com/repos/cozy/cozy-calendar/issues/600","id":250778890,"user":{"login":"Phyks","id":3856586,"avatar_url":"https://avatars.githubusercontent.com/u/3856586?v=3","gravatar_id":"","url":"https://api.github.com/users/Phyks","html_url":"https://github.com/Phyks","followers_url":"https://api.github.com/users/Phyks/followers","following_url":"https://api.github.com/users/Phyks/following{/other_user}","gists_url":"https://api.github.com/users/Phyks/gists{/gist_id}","starred_url":"https://api.github.com/users/Phyks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phyks/subscriptions","organizations_url":"https://api.github.com/users/Phyks/orgs","repos_url":"https://api.github.com/users/Phyks/repos","events_url":"https://api.github.com/users/Phyks/events{/privacy}","received_events_url":"https://api.github.com/users/Phyks/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T15:43:40Z","updated_at":"2016-09-30T15:43:40Z","body":"Yes, that was this kind of thing I had in mind.\r\n\r\nAlso, is it absolutely necessary that the Cozy (server side) timezone matches the client timezone? I mean, the Cozy timezone could be used for almost everything on the server side, and Calendar could have a local timezone setting, just for display purpose?\r\n\r\nActually, with the current behavior, I would hesitate quite a lot before changing my timezone in the Cozy settings, because it is quite unclear for me whether this could break something or if it would just change the displayed content and actually solve the issue. Plus I had forgotten about this option at first :)\r\n\r\nAs a final note, Nextcloud's calendar, on its side, seems to be using my browser's local timezone."}}
{"actor":{"display_login":"Phyks"}}