{"action":"created","issue":{"url":"https://api.github.com/repos/mourner/suncalc/issues/67","repository_url":"https://api.github.com/repos/mourner/suncalc","labels_url":"https://api.github.com/repos/mourner/suncalc/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/mourner/suncalc/issues/67/comments","events_url":"https://api.github.com/repos/mourner/suncalc/issues/67/events","html_url":"https://github.com/mourner/suncalc/issues/67","id":139228949,"number":67,"title":"Comparison to over data sources","user":{"login":"davidtme","id":1804141,"avatar_url":"https://avatars.githubusercontent.com/u/1804141?v=3","gravatar_id":"","url":"https://api.github.com/users/davidtme","html_url":"https://github.com/davidtme","followers_url":"https://api.github.com/users/davidtme/followers","following_url":"https://api.github.com/users/davidtme/following{/other_user}","gists_url":"https://api.github.com/users/davidtme/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtme/subscriptions","organizations_url":"https://api.github.com/users/davidtme/orgs","repos_url":"https://api.github.com/users/davidtme/repos","events_url":"https://api.github.com/users/davidtme/events{/privacy}","received_events_url":"https://api.github.com/users/davidtme/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-08T09:52:07Z","updated_at":"2016-03-08T10:20:00Z","closed_at":"2016-03-08T10:04:40Z","body":"I'm just double checking the data output is close to other data sources and I seem to be seeing something a bit odd\r\n\r\nThe following code:\r\n\r\n```\r\nvar times = SunCalc.getTimes(new Date(\"08/mar/2016\"), 53.4785216, -2.2499202);\r\n\r\nconsole.log(\"sunrise\", times.sunrise);\r\nconsole.log(\"sunset\", times.sunset);\r\n```\r\n\r\nOutputs:\r\n\r\n```\r\nsunrise Mon Mar 07 2016 06:43:25 GMT+0000 (GMT Standard Time)\r\nsunset Mon Mar 07 2016 17:59:21 GMT+0000 (GMT Standard Time)\r\n```\r\n\r\nWhich seems to be the wrong date\r\n\r\nAlso compared to http://www.sunrisesunset.com/ the sunrise is the day before and the sunset is the correct time but wrong date.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1804141/13597973/38a95b60-e513-11e5-83dd-8c3f0b6b3d7d.png)\r\n"},"comment":{"url":"https://api.github.com/repos/mourner/suncalc/issues/comments/193706287","html_url":"https://github.com/mourner/suncalc/issues/67#issuecomment-193706287","issue_url":"https://api.github.com/repos/mourner/suncalc/issues/67","id":193706287,"user":{"login":"mourner","id":25395,"avatar_url":"https://avatars.githubusercontent.com/u/25395?v=3","gravatar_id":"","url":"https://api.github.com/users/mourner","html_url":"https://github.com/mourner","followers_url":"https://api.github.com/users/mourner/followers","following_url":"https://api.github.com/users/mourner/following{/other_user}","gists_url":"https://api.github.com/users/mourner/gists{/gist_id}","starred_url":"https://api.github.com/users/mourner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mourner/subscriptions","organizations_url":"https://api.github.com/users/mourner/orgs","repos_url":"https://api.github.com/users/mourner/repos","events_url":"https://api.github.com/users/mourner/events{/privacy}","received_events_url":"https://api.github.com/users/mourner/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T10:20:00Z","updated_at":"2016-03-08T10:20:00Z","body":"It calculates times according to your local timezone, and returns times symmetrically around solar noon closest to the time you pass to `getTimes`."}}