added upcoming times to prof display
This commit is contained in:
parent
1f47d8a6ad
commit
3e6a263cf3
@ -3614,6 +3614,12 @@ class StockTicker():
|
|||||||
dateEvent = match['date2']
|
dateEvent = match['date2']
|
||||||
except:
|
except:
|
||||||
dateEvent = match['date'].replace('-', '.')
|
dateEvent = match['date'].replace('-', '.')
|
||||||
|
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)
|
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'):
|
if (league == 'PGA') or (league == 'LPGA') or (league == 'PGA_EU') or (league == 'LIV') or (league == 'NASCAR') or (league == 'F1'):
|
||||||
|
Loading…
Reference in New Issue
Block a user