{"action":"created","issue":{"url":"https://api.github.com/repos/moment/moment/issues/3668","repository_url":"https://api.github.com/repos/moment/moment","labels_url":"https://api.github.com/repos/moment/moment/issues/3668/labels{/name}","comments_url":"https://api.github.com/repos/moment/moment/issues/3668/comments","events_url":"https://api.github.com/repos/moment/moment/issues/3668/events","html_url":"https://github.com/moment/moment/pull/3668","id":196470601,"number":3668,"title":"Working with Julian Dates","user":{"login":"mairanteodoro","id":7604069,"avatar_url":"https://avatars.githubusercontent.com/u/7604069?v=3","gravatar_id":"","url":"https://api.github.com/users/mairanteodoro","html_url":"https://github.com/mairanteodoro","followers_url":"https://api.github.com/users/mairanteodoro/followers","following_url":"https://api.github.com/users/mairanteodoro/following{/other_user}","gists_url":"https://api.github.com/users/mairanteodoro/gists{/gist_id}","starred_url":"https://api.github.com/users/mairanteodoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mairanteodoro/subscriptions","organizations_url":"https://api.github.com/users/mairanteodoro/orgs","repos_url":"https://api.github.com/users/mairanteodoro/repos","events_url":"https://api.github.com/users/mairanteodoro/events{/privacy}","received_events_url":"https://api.github.com/users/mairanteodoro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-19T17:12:34Z","updated_at":"2016-12-19T17:12:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/moment/moment/pulls/3668","html_url":"https://github.com/moment/moment/pull/3668","diff_url":"https://github.com/moment/moment/pull/3668.diff","patch_url":"https://github.com/moment/moment/pull/3668.patch"},"body":"I have implemented 3 new methods to deal with Julian Dates (=Julian Day + Time). Any Moment.js object can now be converted to Julian Dates using the `.toJD()` method.\r\n\r\nAlternatively, `moment.convertToJD( any_moment_date_obj )` and `moment.convertFromJD( any_Julian_Date )` can also be used to convert between Julian Dates and Gregorian Dates. The argument for `moment.convertToJD` must be a Moment.js object, whereas `moment.convertFromJD` can accept any positive number.\r\n\r\n**All the methods implemented on this commit should work fine for all positive Julian Days, i.e., all dates after BCE 4713 Jan 1st 12:00:00 UTC.**"},"comment":{"url":"https://api.github.com/repos/moment/moment/issues/comments/268021287","html_url":"https://github.com/moment/moment/pull/3668#issuecomment-268021287","issue_url":"https://api.github.com/repos/moment/moment/issues/3668","id":268021287,"user":{"login":"jsf-clabot","id":23005875,"avatar_url":"https://avatars.githubusercontent.com/u/23005875?v=3","gravatar_id":"","url":"https://api.github.com/users/jsf-clabot","html_url":"https://github.com/jsf-clabot","followers_url":"https://api.github.com/users/jsf-clabot/followers","following_url":"https://api.github.com/users/jsf-clabot/following{/other_user}","gists_url":"https://api.github.com/users/jsf-clabot/gists{/gist_id}","starred_url":"https://api.github.com/users/jsf-clabot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsf-clabot/subscriptions","organizations_url":"https://api.github.com/users/jsf-clabot/orgs","repos_url":"https://api.github.com/users/jsf-clabot/repos","events_url":"https://api.github.com/users/jsf-clabot/events{/privacy}","received_events_url":"https://api.github.com/users/jsf-clabot/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T17:12:36Z","updated_at":"2016-12-19T17:12:36Z","body":"[![CLA assistant check](https://cla.js.foundation/pull/badge/not_signed)](https://cla.js.foundation/moment/moment?pullRequest=3668) <br/>Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our [Contributor License Agreement](https://cla.js.foundation/moment/moment?pullRequest=3668) before we can accept your contribution.<br/>"}}
{"actor":{"display_login":"jsf-clabot"}}