typpo / spacekit

Javascript library for 3D space visualizations
https://typpo.github.io/spacekit/
MIT License
527 stars 39 forks source link

Bugfix on precise time to ensure internal JD always number #27

Closed HankG closed 4 years ago

HankG commented 4 years ago

the julian() versus julian.toDate() method is returning a double that is encoded in a string which therefore messed up math elsewhere so forcing it to be a Number explicitly.

typpo commented 4 years ago

Thanks! :+1: