{"action":"closed","issue":{"url":"https://api.github.com/repos/ap-repo/calculator-teste/issues/1","labels_url":"https://api.github.com/repos/ap-repo/calculator-teste/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ap-repo/calculator-teste/issues/1/comments","events_url":"https://api.github.com/repos/ap-repo/calculator-teste/issues/1/events","html_url":"https://github.com/ap-repo/calculator-teste/issues/1","id":105648474,"number":1,"title":"Converção dos períodos UTC para GMT","user":{"login":"ap-repo","id":14153267,"avatar_url":"https://avatars.githubusercontent.com/u/14153267?v=3","gravatar_id":"","url":"https://api.github.com/users/ap-repo","html_url":"https://github.com/ap-repo","followers_url":"https://api.github.com/users/ap-repo/followers","following_url":"https://api.github.com/users/ap-repo/following{/other_user}","gists_url":"https://api.github.com/users/ap-repo/gists{/gist_id}","starred_url":"https://api.github.com/users/ap-repo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ap-repo/subscriptions","organizations_url":"https://api.github.com/users/ap-repo/orgs","repos_url":"https://api.github.com/users/ap-repo/repos","events_url":"https://api.github.com/users/ap-repo/events{/privacy}","received_events_url":"https://api.github.com/users/ap-repo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ap-repo/calculator-teste/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"ap-repo","id":14153267,"avatar_url":"https://avatars.githubusercontent.com/u/14153267?v=3","gravatar_id":"","url":"https://api.github.com/users/ap-repo","html_url":"https://github.com/ap-repo","followers_url":"https://api.github.com/users/ap-repo/followers","following_url":"https://api.github.com/users/ap-repo/following{/other_user}","gists_url":"https://api.github.com/users/ap-repo/gists{/gist_id}","starred_url":"https://api.github.com/users/ap-repo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ap-repo/subscriptions","organizations_url":"https://api.github.com/users/ap-repo/orgs","repos_url":"https://api.github.com/users/ap-repo/repos","events_url":"https://api.github.com/users/ap-repo/events{/privacy}","received_events_url":"https://api.github.com/users/ap-repo/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-09-09T17:46:09Z","updated_at":"2015-12-05T21:15:49Z","closed_at":"2015-12-05T21:15:49Z","body":"##### Informações complementares:\r\nOs registros de pontos são armazenados no servidor como UTC (Coordinated Universal Time) e apresentados ao usuário convertidos para o GMT (Greenwich Mean Time) local.\r\n\r\n##### Descrição do bug:\r\nAo carregar os registros de pontos na Timeline e Relatório, ele não considera o GMT para filtrar o dia do registro.\r\n\r\n##### Reproduzir:\r\nAo registrar um ponto as 09/09/2015 20:00:00 (GMT, horário local), ele será armazenado no servidor como 10/09/2015 00:00:00 (+3 horas no horário universal UTC). \r\nIsso causará um problema na Timeline: Após as 20h do horário local, será considerado um novo dia na Timeline e será apresentado uma nova Timeline vazia, desconsiderando os pontos registrados antes das 20h.\r\nNo relatório: Ao filtrar o relatório do dia 09/09/2015, todos os pontos após as 20h serão considerados do dia 10/09/2015.\r\n\r\n##### Possível solução:\r\nConsiderar o GMT no momento do filtro/carregamento dos registros de ponto no banco de dados."}}