From 9e6c6f3a17a7de853ee0123bcb20fa5e477e64b7 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 19 Jun 2024 23:23:20 -0700 Subject: [PATCH] Update solarconditions.py --- solarconditions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solarconditions.py b/solarconditions.py index 933b03e..72c12ae 100644 --- a/solarconditions.py +++ b/solarconditions.py @@ -118,8 +118,8 @@ def get_moon(lat=0, lon=0): local_next_full_moon = ephem.localtime(ephem.next_full_moon((obs.date))) local_next_new_moon = ephem.localtime(ephem.next_new_moon((obs.date))) - moon_table['next_full_moon'] = local_next_full_moon.strftime('%a %d %I:%M') - moon_table['next_new_moon'] = local_next_new_moon.strftime('%a %d %I:%M') + moon_table['next_full_moon'] = local_next_full_moon.strftime('%a %m %d %I:%M') + moon_table['next_new_moon'] = local_next_new_moon.strftime('%a %m %d %I:%M') moon_data = f"Moon Rise:" + moon_table['rise_time'] + " Set:" + moon_table['set_time'] + "\nMoon Phase:" \ + moon_table['phase'] + " @:" + str('{0:.2f}'.format(moon_table['illumination'])) + "%" \