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

EpochTime.toDateTime() raises Exception when seconds round to 60 #13

Closed
RobertK66 opened this issue Apr 19, 2019 · 1 comment
Closed
Labels

Comments

@RobertK66
Copy link
Contributor

Using a TLE with a DayOfYear generating a time with 59,6... seconds does not return correct ToDateTime() value.

e.g. using
var x = new EpochTime(2017, 326.59305107);
var d = x.toDateTime();
raises an Exception.

  • Library Version 1.0.7

I already have a fix and will provide a pull request for it. I hope you will also accept my additional changes there ;-) .....

@1manprojects
Copy link
Owner

fix was merged into master.

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

No branches or pull requests

2 participants