aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Clock.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/Clock.py')
-rw-r--r--lib/python/Components/Clock.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/Clock.py b/lib/python/Components/Clock.py
index 3beed551..eba5ea27 100644
--- a/lib/python/Components/Clock.py
+++ b/lib/python/Components/Clock.py
@@ -21,7 +21,8 @@ class Clock(HTMLComponent, GUIComponent, VariableText):
# "funktionalitaet"
def doClock(self):
t = time.localtime()
- self.setText("%2d:%02d:%02d" % (t[3], t[4], t[5]))
+ #HACK use timezone settings
+ self.setText("%2d:%02d:%02d" % (t[3] + 2, t[4], t[5]))
# realisierung als GUI
def createWidget(self, parent):