mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-20 00:48:17 +02:00
Update check-moon-phase.ps1
This commit is contained in:
parent
ca0e597adc
commit
6f99492e48
@ -12,7 +12,7 @@
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$LunarCycle = 29.53058770576 # in days
|
$LunarCycle = 29.53058868 # synodic period in days, time between successive new moons
|
||||||
$LunarHalfCycle = $LunarCycle / 2.0
|
$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")
|
$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
|
$PhaseLength = $LunarCycle / 8.0
|
||||||
|
Loading…
Reference in New Issue
Block a user