Update check-moon-phase.ps1

This commit is contained in:
Markus Fleschutz 2021-12-06 11:27:03 +01:00
parent ca0e597adc
commit 6f99492e48

View File

@ -12,7 +12,7 @@
#>
try {
$LunarCycle = 29.53058770576 # in days
$LunarCycle = 29.53058868 # synodic period in days, time between successive new moons
$LunarHalfCycle = $LunarCycle / 2.0
$Phases = @("New moon", "Waxing crescent moon", "First quarter moon", "Waxing gibbous moon", "Full moon", "Waning gibbous moon", "Last quarter moon", "Waning crescent moon")
$PhaseLength = $LunarCycle / 8.0