diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-10-09 21:15:38 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-10-09 21:15:38 +0000 |
| commit | 263fb05a22a1caa119810445d0b5d3faa8236579 (patch) | |
| tree | be8c2015db0c22a478797ca42c4713b6f458de15 /lib/python/Screens/TimerEntry.py | |
| parent | 81ba8338641aa41e52e498b43aeefa66714819fe (diff) | |
| download | enigma2-263fb05a22a1caa119810445d0b5d3faa8236579.tar.gz enigma2-263fb05a22a1caa119810445d0b5d3faa8236579.zip | |
use new ConfigClock
Diffstat (limited to 'lib/python/Screens/TimerEntry.py')
| -rw-r--r-- | lib/python/Screens/TimerEntry.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Screens/TimerEntry.py b/lib/python/Screens/TimerEntry.py index c548e153..b146ecf3 100644 --- a/lib/python/Screens/TimerEntry.py +++ b/lib/python/Screens/TimerEntry.py @@ -88,10 +88,10 @@ class TimerEntry(Screen, ConfigListScreen): self.timerentry_repeated = ConfigSelection(default = repeated, choices = [("daily", _("daily")), ("weekly", _("weekly")), ("weekdays", _("Mon-Fri")), ("user", _("user defined"))]) self.timerentry_startdate = ConfigDateTime(default = self.timer.begin, formatstring = _("%d.%B %Y"), increment = 86400) - self.timerentry_starttime = ConfigClock(default = [int(time.strftime("%H", time.localtime(self.timer.begin))), int(time.strftime("%M", time.localtime(self.timer.begin)))]) + self.timerentry_starttime = ConfigClock(default = self.timer.begin) self.timerentry_enddate = ConfigDateTime(default = self.timer.end, formatstring = _("%d.%B %Y"), increment = 86400) - self.timerentry_endtime = ConfigClock(default = [int(time.strftime("%H", time.localtime(self.timer.end))), int(time.strftime("%M", time.localtime(self.timer.end)))]) + self.timerentry_endtime = ConfigClock(default = self.timer.end) self.timerentry_weekday = ConfigSelection(default = weekday_table[weekday], choices = [("mon",_("Monday")), ("tue", _("Tuesday")), ("wed",_("Wednesday")), ("thu", _("Thursday")), ("fri", _("Friday")), ("sat", _("Saturday")), ("sun", _("Sunday"))]) |
