parent
90b68051c5
commit
340fc06678
|
|
@ -166,7 +166,7 @@ function drawMoonIlluminationPage(gps, title) {
|
||||||
];
|
];
|
||||||
|
|
||||||
const phase = SunCalc.getMoonIllumination(new Date());
|
const phase = SunCalc.getMoonIllumination(new Date());
|
||||||
const phaseIdx = Math.round(phase.phase*8),
|
const phaseIdx = Math.round(phase.phase*8);
|
||||||
const pageData = {
|
const pageData = {
|
||||||
Phase: phaseNames[phaseIdx],
|
Phase: phaseNames[phaseIdx],
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue