From 1cc891395e2081d431d63a4d4be303a8121c2daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Fri, 3 Dec 2021 15:42:14 +0100 Subject: [PATCH] fix: return next Moon phase with the correct time zone --- _kosmorro/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_kosmorro/main.py b/_kosmorro/main.py index 10315f8..2d500c6 100644 --- a/_kosmorro/main.py +++ b/_kosmorro/main.py @@ -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(