Update app.js

pull/3045/head
Ben Jabituya 2023-10-14 00:09:15 +01:00 committed by GitHub
parent 4c62777636
commit 74f8869b85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 8 deletions

View File

@ -534,14 +534,7 @@ function mean_sidereal_time(lon) {
var mst = 280.46061837 + 360.98564736629 * jd var mst = 280.46061837 + 360.98564736629 * jd
+ 0.000387933 * jt * jt - jt * jt * jt / 38710000 + lon; + 0.000387933 * jt * jt - jt * jt * jt / 38710000 + lon;
if (mst > 0.0) { mst = mst%360;
while (mst > 360.0)
mst = mst - 360.0;
}
else {
while (mst < 0.0)
mst = mst + 360.0;
}
return mst; return mst;
} }