From 6b6fc9fc49dac73b93f5dbecb6af07caa3fee985 Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Tue, 15 Apr 2025 11:24:25 -0500 Subject: [PATCH] Revert "commented out the time since last refesh on weather current" This reverts commit 731ba7e2b1e10f2b597a021d4a4c0d2bf0990323. --- src/weather_manager.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/weather_manager.py b/src/weather_manager.py index b9568266..7a513e4f 100644 --- a/src/weather_manager.py +++ b/src/weather_manager.py @@ -232,12 +232,12 @@ class WeatherManager: fill=self.COLORS['text']) # Draw "time ago" text below condition (using small font) - # time_since_update = int((time.time() - self.last_update) / 3600) # hours - # time_text = f"{time_since_update}h" # Even shorter text - # draw.text((icon_x + self.ICON_SIZE['large'] + 1, icon_y + 7), # Reduced from 8 - # time_text, - # font=self.display_manager.small_font, - # fill=self.COLORS['dim']) # Using dimmer color + time_since_update = int((time.time() - self.last_update) / 3600) # hours + time_text = f"{time_since_update}h" # Even shorter text + draw.text((icon_x + self.ICON_SIZE['large'] + 1, icon_y + 7), # Reduced from 8 + time_text, + font=self.display_manager.small_font, + fill=self.COLORS['dim']) # Using dimmer color # Draw current temperature on the right (using small font instead of regular) temp = round(weather_data['main']['temp'])