Skip to content

Commit 1cc8913

Browse files
Jérôme DeuchnordDeuchnord
authored andcommitted
fix: return next Moon phase with the correct time zone
1 parent 2a4286d commit 1cc8913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_kosmorro/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def get_information(
155155
eph = []
156156

157157
try:
158-
moon_phase = get_moon_phase(compute_date)
158+
moon_phase = get_moon_phase(for_date=compute_date, timezone=timezone)
159159
except OutOfRangeDateError as error:
160160
moon_phase = None
161161
print(

0 commit comments

Comments
 (0)