From 10db544b1ed646b3b27310bafb19d45a933a5212 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Thu, 10 Jan 2008 10:04:09 +0000 Subject: set XO clock to use UTC #5648 --- (limited to 'shell') 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.")) -- cgit v0.9.1