Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strange output of julian.JDEToDate #20

Open
hjy1210 opened this issue Jan 1, 2021 · 0 comments
Open

strange output of julian.JDEToDate #20

hjy1210 opened this issue Jan 1, 2021 · 0 comments

Comments

@hjy1210
Copy link

hjy1210 commented Jan 1, 2021

function oddJDEToDate(){
  let d = 1721790.0684809217
  console.log([julian.JDEToDate(d), julian.JDEToDate(d+0.5)]) 
}
oddJDEToDate()  // [ 0001-12-31T10:42:33.414Z, 0002-12-31T22:42:33.428Z ]

Note: Difference between julian.JDEToDate(d) and julian.JDEToDate(d+0.5) is more than one year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant