Clarify weather forecast output formatting in wx_international command

- Updated the weather forecast message to display high and low temperatures with clear labels (H: for high, L: for low) for better readability.
- Removed redundant period name from the forecast to streamline the message content.
This commit is contained in:
agessaman
2026-01-01 15:34:46 -08:00
parent 4e890b4b7b
commit f35b77cfcc
@@ -496,13 +496,14 @@ class GlobalWxCommand(BaseCommand):
if conditions and len(weather) < 120:
weather += " " + " ".join(conditions)
# Add forecast for today/tonight and tomorrow
# Add forecast high/low for today (without repeating period name since current conditions already show it)
# API should return temperatures in Fahrenheit when requested
if daily:
today_high = int(daily['temperature_2m_max'][0])
today_low = int(daily['temperature_2m_min'][0])
weather += f" | {period_name}: {today_high}{temp_symbol}/{today_low}{temp_symbol}"
# Show high/low with labels to make it clear
weather += f" | H:{today_high}{temp_symbol} L:{today_low}{temp_symbol}"
# Add tomorrow if space allows (check length more carefully)
if len(daily['temperature_2m_max']) > 1: