Skip to content

Commit

Permalink
fix: return next Moon phase with the correct time zone
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme Deuchnord authored and Deuchnord committed Dec 3, 2021
1 parent 2a4286d commit 1cc8913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _kosmorro/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1cc8913

Please sign in to comment.