diff options
author | Simon Schampijer <simon@schampijer.de> | 2008-01-10 10:04:09 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2008-01-10 10:05:19 (GMT) |
commit | 8abb3c9234a5b53764517e242c4d06ef38cd1794 (patch) | |
tree | 0f69e4c51c4c617d08dee8bd7d1cc89ce2f30c32 /shell | |
parent | 09ad840bceeaebed587a4bea92def8a1f7ed8791 (diff) |
set XO clock to use UTC #5648
Diffstat (limited to 'shell')
-rw-r--r-- | shell/controlpanel/control.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/controlpanel/control.py b/shell/controlpanel/control.py index d4a4f6e..cf2326e 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.")) |