Update solarconditions.py

This commit is contained in:
SpudGunMan
2024-06-19 23:29:47 -07:00
parent b6a284a962
commit e3287195d6
+2 -2
View File
@@ -121,8 +121,8 @@ def get_moon(lat=0, lon=0):
moon_table['next_full_moon'] = local_next_full_moon.strftime('%a %b %d %I:%M%p')
moon_table['next_new_moon'] = local_next_new_moon.strftime('%a %b %d %I:%M%p')
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'])) + "%" \
moon_data = f"Moon Rise:" + moon_table['rise_time'] + "\nSet:" + moon_table['set_time'] + \
"\nMoon Phase:" + moon_table['phase'] + " @:" + str('{0:.2f}'.format(moon_table['illumination'])) + "%" \
+ "\nNext Full Moon:" + moon_table['next_full_moon'] + "\nNext New Moon:" + moon_table['next_new_moon']
return moon_data