Selaa lähdekoodia

fix: return next Moon phase with the correct time zone

pull/221/head
Jérôme Deuchnord 4 vuotta sitten
vanhempi
commit
beb8ede8a8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      _kosmorro/main.py

+ 1
- 1
_kosmorro/main.py Näytä tiedosto

@@ -155,7 +155,7 @@ def get_information(
eph = []

try:
moon_phase = get_moon_phase(compute_date)
moon_phase = get_moon_phase(for_date=compute_date, timezone=timezone)
except OutOfRangeDateError as error:
moon_phase = None
print(


Ladataan…
Peruuta
Tallenna