2011-08-10, 20:57
Machine-Sanctum Wrote:I already looked but maybe i missed it. I'll search again.
EDIT:
As far as i can tell all the skin have the same time displayed.
When i search in the code in EPGwindow.py i find this wich i think difines how it's displayed:
Code:# set the time labels
def setTimeLabels(self, thetime):
self.log('setTimeLabels')
now = datetime.datetime.fromtimestamp(thetime)
self.getControl(104).setLabel(now.strftime('%A, %b %d'))
delta = datetime.timedelta(minutes=30)
for i in range(3):
self.getControl(101 + i).setLabel(now.strftime("%I:%M"))
now = now + delta
self.log('setTimeLabels return')
From what I remember %I should return the international hour scheme meaning it returns the hour based on what is set in XBMC. So if XBMC is set, for example, to Australia 24-hour time it'll return 16:00. Whereas if it's set to Australia 12-hour time it'll return 4:00.