{"action":"opened","issue":{"url":"https://api.github.com/repos/Restuta/rcn.io/issues/28","labels_url":"https://api.github.com/repos/Restuta/rcn.io/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/Restuta/rcn.io/issues/28/comments","events_url":"https://api.github.com/repos/Restuta/rcn.io/issues/28/events","html_url":"https://github.com/Restuta/rcn.io/issues/28","id":116459740,"number":28,"title":"Sunset/Sunrise calculator based on location","user":{"login":"Restuta","id":377261,"avatar_url":"https://avatars.githubusercontent.com/u/377261?v=3","gravatar_id":"","url":"https://api.github.com/users/Restuta","html_url":"https://github.com/Restuta","followers_url":"https://api.github.com/users/Restuta/followers","following_url":"https://api.github.com/users/Restuta/following{/other_user}","gists_url":"https://api.github.com/users/Restuta/gists{/gist_id}","starred_url":"https://api.github.com/users/Restuta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Restuta/subscriptions","organizations_url":"https://api.github.com/users/Restuta/orgs","repos_url":"https://api.github.com/users/Restuta/repos","events_url":"https://api.github.com/users/Restuta/events{/privacy}","received_events_url":"https://api.github.com/users/Restuta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-12T01:26:52Z","updated_at":"2015-11-12T01:26:52Z","closed_at":null,"body":"We need to write/find a library in javascript that does this calculation based on location. \r\n\r\nOne of the example implementation is https://gist.github.com/Tafkas/4742250. See #24 for more details. \r\n\r\n#### Definition of done\r\n* [ ] we have a set of unit-tests that are run through some library and they test if that library does proper sunset/sunrise calculation based on Lat/Long and maybe TimeZone (idk why it's needed). \r\n* [ ] input and output data for the tests are validated using 3rd party calculators (find reliable one)"}}