diff --git a/stockTicker.py b/stockTicker.py index c1bea84..76b9108 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -3614,7 +3614,13 @@ class StockTicker(): dateEvent = match['date2'] except: dateEvent = match['date'].replace('-', '.') - date_timage = self.textImage(dateEvent, small_font, r = 255, g = 255, b = 255) + if time == 'future': + try: + date_timage = self.textImage(dateEvent + ' ' + match['time'].replace("EST","").replace('PM','P').replace('AM','A').replace('CET',''), small_font, r = 255, g = 255, b = 255) + except: + date_timage = self.textImage(dateEvent, small_font, r = 255, g = 255, b = 255) + else: + date_timage = self.textImage(dateEvent, small_font, r = 255, g = 255, b = 255) if (league == 'PGA') or (league == 'LPGA') or (league == 'PGA_EU') or (league == 'LIV') or (league == 'NASCAR') or (league == 'F1'): event = match['event']