commit
16a09d5928
|
|
@ -3,3 +3,4 @@
|
||||||
0.03: Update to use Bangle.setUI instead of setWatch
|
0.03: Update to use Bangle.setUI instead of setWatch
|
||||||
0.04: Tell clock widgets to hide.
|
0.04: Tell clock widgets to hide.
|
||||||
0.05: Added adjustment for Bangle.js magnetometer heading fix
|
0.05: Added adjustment for Bangle.js magnetometer heading fix
|
||||||
|
0.06: optimized to update much faster
|
||||||
|
|
|
||||||
|
|
@ -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 %=360;
|
||||||
while (mst > 360.0)
|
|
||||||
mst = mst - 360.0;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
while (mst < 0.0)
|
|
||||||
mst = mst + 360.0;
|
|
||||||
}
|
|
||||||
return mst;
|
return mst;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "astral",
|
"id": "astral",
|
||||||
"name": "Astral Clock",
|
"name": "Astral Clock",
|
||||||
"version": "0.05",
|
"version": "0.06",
|
||||||
"description": "Clock that calculates and displays Alt Az positions of all planets, Sun as well as several other astronomy targets (customizable) and current Moon phase. Coordinates are calculated by GPS & time and onscreen compass assists orienting. See Readme before using.",
|
"description": "Clock that calculates and displays Alt Az positions of all planets, Sun as well as several other astronomy targets (customizable) and current Moon phase. Coordinates are calculated by GPS & time and onscreen compass assists orienting. See Readme before using.",
|
||||||
"icon": "app-icon.png",
|
"icon": "app-icon.png",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue