{"action":"created","issue":{"url":"https://api.github.com/repos/onekiloparsec/SwiftAA/issues/5","repository_url":"https://api.github.com/repos/onekiloparsec/SwiftAA","labels_url":"https://api.github.com/repos/onekiloparsec/SwiftAA/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/onekiloparsec/SwiftAA/issues/5/comments","events_url":"https://api.github.com/repos/onekiloparsec/SwiftAA/issues/5/events","html_url":"https://github.com/onekiloparsec/SwiftAA/issues/5","id":196556712,"number":5,"title":"Can't get ecliptic to equatorial transformation working","user":{"login":"alex-vasenin","id":8776784,"avatar_url":"https://avatars.githubusercontent.com/u/8776784?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-vasenin","html_url":"https://github.com/alex-vasenin","followers_url":"https://api.github.com/users/alex-vasenin/followers","following_url":"https://api.github.com/users/alex-vasenin/following{/other_user}","gists_url":"https://api.github.com/users/alex-vasenin/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-vasenin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-vasenin/subscriptions","organizations_url":"https://api.github.com/users/alex-vasenin/orgs","repos_url":"https://api.github.com/users/alex-vasenin/repos","events_url":"https://api.github.com/users/alex-vasenin/events{/privacy}","received_events_url":"https://api.github.com/users/alex-vasenin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-20T00:37:09Z","updated_at":"2016-12-22T16:07:19Z","closed_at":"2016-12-22T16:07:19Z","body":"Here is the test code:\r\n\r\n    let now = Date().julianDay()\r\n    let sun = Sun.init(julianDay: now)\r\n    print(now) // OK\r\n    print(sun.eclipticCoordinates) // OK\r\n    print(sun.equatorialCoordinates) // RA is OK, but DEC should be -23°, not +55°\r\n\r\nAnd here is the output:\r\n\r\n    JulianDay(value: 2457742.6550525003)\r\n    EclipticCoordinates(celestialLongitude: SwiftAA.Degree(value: 268.6910301599379), celestialLatitude: SwiftAA.Degree(value: -1.8868903201079716e-05), epoch: SwiftAA.JulianDay(value: 2451545.0))\r\n    EquatorialCoordinates(rightAscension: SwiftAA.Hour(value: 17.847912733146728), declination: SwiftAA.Degree(value: 54.978633717748345), epoch: SwiftAA.JulianDay(value: 2451545.0))\r\n\r\nWhat I'm doing wrong?"},"comment":{"url":"https://api.github.com/repos/onekiloparsec/SwiftAA/issues/comments/268831445","html_url":"https://github.com/onekiloparsec/SwiftAA/issues/5#issuecomment-268831445","issue_url":"https://api.github.com/repos/onekiloparsec/SwiftAA/issues/5","id":268831445,"user":{"login":"onekiloparsec","id":226224,"avatar_url":"https://avatars.githubusercontent.com/u/226224?v=3","gravatar_id":"","url":"https://api.github.com/users/onekiloparsec","html_url":"https://github.com/onekiloparsec","followers_url":"https://api.github.com/users/onekiloparsec/followers","following_url":"https://api.github.com/users/onekiloparsec/following{/other_user}","gists_url":"https://api.github.com/users/onekiloparsec/gists{/gist_id}","starred_url":"https://api.github.com/users/onekiloparsec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onekiloparsec/subscriptions","organizations_url":"https://api.github.com/users/onekiloparsec/orgs","repos_url":"https://api.github.com/users/onekiloparsec/repos","events_url":"https://api.github.com/users/onekiloparsec/events{/privacy}","received_events_url":"https://api.github.com/users/onekiloparsec/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T16:07:19Z","updated_at":"2016-12-22T16:07:19Z","body":"Follow-up in #17 "}}
{"actor":{"display_login":"onekiloparsec"}}