Sfoglia il codice sorgente

fix: return next Moon phase with the correct time zone

tags/v0.10.7
Jérôme Deuchnord 2 anni fa
committed by Jérôme Deuchnord
parent
commit
1cc891395e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      _kosmorro/main.py

+ 1
- 1
_kosmorro/main.py Vedi File

@@ -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(


Caricamento…
Annulla
Salva