{"action":"opened","issue":{"url":"https://api.github.com/repos/otavanopisto/muikku/issues/391","labels_url":"https://api.github.com/repos/otavanopisto/muikku/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/otavanopisto/muikku/issues/391/comments","events_url":"https://api.github.com/repos/otavanopisto/muikku/issues/391/events","html_url":"https://github.com/otavanopisto/muikku/issues/391","id":106713170,"number":391,"title":"Different server time zones lead to Student synchronization issues with dates","user":{"login":"anttiviljakainen","id":2852275,"avatar_url":"https://avatars.githubusercontent.com/u/2852275?v=3","gravatar_id":"","url":"https://api.github.com/users/anttiviljakainen","html_url":"https://github.com/anttiviljakainen","followers_url":"https://api.github.com/users/anttiviljakainen/followers","following_url":"https://api.github.com/users/anttiviljakainen/following{/other_user}","gists_url":"https://api.github.com/users/anttiviljakainen/gists{/gist_id}","starred_url":"https://api.github.com/users/anttiviljakainen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anttiviljakainen/subscriptions","organizations_url":"https://api.github.com/users/anttiviljakainen/orgs","repos_url":"https://api.github.com/users/anttiviljakainen/repos","events_url":"https://api.github.com/users/anttiviljakainen/events{/privacy}","received_events_url":"https://api.github.com/users/anttiviljakainen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/otavanopisto/muikku/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-16T07:07:20Z","updated_at":"2015-09-16T07:07:20Z","closed_at":null,"body":"When timezones of Pyramus and Muikku servers are different issues seem to emerge in dates, f.ex. \r\n\r\n1. Create Student in Pyramus\r\n2. Set study start date to current date\r\n3. In Muikku, the front page is empty as if the student doesn't have permissions (which indicates student is percieved as inactive [f.ex. the start date is in the future or end date has passed])\r\n4. Edit student in Pyramus, set the study start date to yesterday\r\n5. Muikku shows the front page widgets normally\r\n\r\nSecond example:\r\n1. Add Student to Course in Pyramus with today as signup date\r\n2. Again, Muikku doesn't show that the student is on course (workspace)\r\n3. Move signup date to yesterday and Muikku will list the workspace on the front page widget\r\n\r\nWhen a student joins a workspace in Muikku everything seems to work ok though, which probably shows that the roundtrip of the dates (i.e. Muikku-Pyramus-Muikku) seems to be ok."}}