{"action":"created","issue":{"url":"https://api.github.com/repos/toggl/mobileapp/issues/3331","repository_url":"https://api.github.com/repos/toggl/mobileapp","labels_url":"https://api.github.com/repos/toggl/mobileapp/issues/3331/labels{/name}","comments_url":"https://api.github.com/repos/toggl/mobileapp/issues/3331/comments","events_url":"https://api.github.com/repos/toggl/mobileapp/issues/3331/events","html_url":"https://github.com/toggl/mobileapp/pull/3331","id":366280106,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5OTkzMjgy","number":3331,"title":"Fix headers timezones","user":{"login":"simonrozsival","id":374616,"node_id":"MDQ6VXNlcjM3NDYxNg==","avatar_url":"https://avatars0.githubusercontent.com/u/374616?v=4","gravatar_id":"","url":"https://api.github.com/users/simonrozsival","html_url":"https://github.com/simonrozsival","followers_url":"https://api.github.com/users/simonrozsival/followers","following_url":"https://api.github.com/users/simonrozsival/following{/other_user}","gists_url":"https://api.github.com/users/simonrozsival/gists{/gist_id}","starred_url":"https://api.github.com/users/simonrozsival/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonrozsival/subscriptions","organizations_url":"https://api.github.com/users/simonrozsival/orgs","repos_url":"https://api.github.com/users/simonrozsival/repos","events_url":"https://api.github.com/users/simonrozsival/events{/privacy}","received_events_url":"https://api.github.com/users/simonrozsival/received_events","type":"User","site_admin":false},"labels":[{"id":772341325,"node_id":"MDU6TGFiZWw3NzIzNDEzMjU=","url":"https://api.github.com/repos/toggl/mobileapp/labels/android","name":"android","color":"A4C639","default":false},{"id":575484226,"node_id":"MDU6TGFiZWw1NzU0ODQyMjY=","url":"https://api.github.com/repos/toggl/mobileapp/labels/bug","name":"bug","color":"ee0701","default":true},{"id":773208974,"node_id":"MDU6TGFiZWw3NzMyMDg5NzQ=","url":"https://api.github.com/repos/toggl/mobileapp/labels/ios","name":"ios","color":"51bdf7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-03T10:52:50Z","updated_at":"2018-10-08T13:44:20Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/toggl/mobileapp/pulls/3331","html_url":"https://github.com/toggl/mobileapp/pull/3331","diff_url":"https://github.com/toggl/mobileapp/pull/3331.diff","patch_url":"https://github.com/toggl/mobileapp/pull/3331.patch"},"body":"## What's this?\r\nThis fixes a bug where we display incorrect headers for people using timezones which are far from UTC-0.\r\n\r\n### Relationships\r\n\r\nCloses #3262 \r\n\r\n## Why do we want this?\r\n\r\nWe want the app to work for everyone no matter what their race, religion, or timezone is.\r\n\r\n## How is it done?\r\nConsistent usage of local time, instead of the UTC time.\r\n\r\n### Why not another way?\r\nThis is the correct way. Maybe there are other places where we use local/utc times incorrectly, but this PR deals just with bug.\r\n\r\n### Side effects\r\nNo side effects.\r\n\r\n## Review hints\r\nCreate a time entry for two days starting every hour. Try with different time zone settings. The headers on `develop` branch should be incorrect and on this branch correct (Today + Yesterday).\r\n\r\n## :squid: Permissions\r\n🦑 "},"comment":{"url":"https://api.github.com/repos/toggl/mobileapp/issues/comments/427838757","html_url":"https://github.com/toggl/mobileapp/pull/3331#issuecomment-427838757","issue_url":"https://api.github.com/repos/toggl/mobileapp/issues/3331","id":427838757,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzgzODc1Nw==","user":{"login":"willsb","id":7688727,"node_id":"MDQ6VXNlcjc2ODg3Mjc=","avatar_url":"https://avatars3.githubusercontent.com/u/7688727?v=4","gravatar_id":"","url":"https://api.github.com/users/willsb","html_url":"https://github.com/willsb","followers_url":"https://api.github.com/users/willsb/followers","following_url":"https://api.github.com/users/willsb/following{/other_user}","gists_url":"https://api.github.com/users/willsb/gists{/gist_id}","starred_url":"https://api.github.com/users/willsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willsb/subscriptions","organizations_url":"https://api.github.com/users/willsb/orgs","repos_url":"https://api.github.com/users/willsb/repos","events_url":"https://api.github.com/users/willsb/events{/privacy}","received_events_url":"https://api.github.com/users/willsb/received_events","type":"User","site_admin":false},"created_at":"2018-10-08T13:44:20Z","updated_at":"2018-10-08T13:44:20Z","author_association":"MEMBER","body":"@daividssilverio Can you please take a look at this?\r\nAlso, can you ping @simonrozsival so he can cherry pick this fix into the android hotfix release branch, once we have one?"}}
{"actor":{"display_login":"willsb"}}