added an example for weekday selection
[enigma2.git] / lib / python / Screens / TimerEntry.py
index f09a16b..91e9673 100644 (file)
@@ -41,12 +41,14 @@ class TimerEntry(Screen):
 
             config.timerentry.date = configElement_nonSave("config.timerentry.date", configDateTime, time(), ("%d.%B %Y", 86400))
             config.timerentry.time = configElement_nonSave("config.timerentry.time", configDateTime, time(), ("%H:%M", 60))
+            config.timerentry.weekday = configElement_nonSave("config.timerentry.weekday", configDateTime, time(), ("%A", 86400))
 
     def createSetup(self):
         self.list = []
         
         self.list.append(getConfigListEntry("Date", config.timerentry.date))
-        self.list.append(getConfigListEntry("Time", config.timerentry.time))        
+        self.list.append(getConfigListEntry("Time", config.timerentry.time))
+        self.list.append(getConfigListEntry("Weekday", config.timerentry.weekday))
         
         self["config"].list = self.list
         self["config"].l.setList(self.list)