Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2008-01-10 10:04:09 (GMT)
committer Simon Schampijer <simon@schampijer.de>2008-01-10 10:04:09 (GMT)
commit10db544b1ed646b3b27310bafb19d45a933a5212 (patch)
tree440dea4fe14685f291e78d9cd2298cdfa11f822b /shell
parentbbf88bea8721143e54d8eef07e99ba1e0f6df325 (diff)
set XO clock to use UTC #5648
Diffstat (limited to 'shell')
-rw-r--r--shell/controlpanel/control.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/controlpanel/control.py b/shell/controlpanel/control.py
index 580536a..a3fa1a4 100644
--- a/shell/controlpanel/control.py
+++ b/shell/controlpanel/control.py
@@ -404,10 +404,9 @@ def set_timezone(timezone):
# Write info to the /etc/sysconfig/clock file
fd = open(_TIMEZONE_CONFIG, "w")
- fd.write('# The ZONE parameter is only evaluated by sugarcontrol.\n')
- fd.write('# The timezone of the system ' +
- 'is defined by the contents of /etc/localtime.\n')
+ fd.write('# use sugar-control-panel to change this\n')
fd.write('ZONE="%s"\n' % timezone)
+ fd.write('UTC=true\n')
fd.close()
else:
print (_("Error timezone does not exist."))